Last post Oct 26, 2007 05:42 AM by jimmy q
Oct 25, 2007 09:31 AMemail@example.com|LINK
I created a sample asp.net mobile application and i used openwave simulator to display the content.
When i diplay the content in IE browser of Desktop i can able to see the button control.
But in openwave simulator i can't able to see the button control. What is the reason for this?
Oct 25, 2007 09:57 AM|jimmy q|LINK
What version of openware are you using, 6.2 or 7?
Are you using the ASP.NET mobile COMMAND control?
Oct 26, 2007 12:35 AMfirstname.lastname@example.org|LINK
I am using openware 7.0 and ASP.NET mobile COMMAND control.
Oct 26, 2007 12:41 AM|jimmy q|LINK
I had lots of rendering issues with openwave 7 not rendering what it should so i started using 6.2.2 which works great.
Try 6.2.2 and let us know if your button gets rendered and displayed.
Oct 26, 2007 01:50 AMemail@example.com|LINK
Hi Thanks for the reply.
when the command button is clicked i am displaying the sample text like
The text get displayed but the command button is missing.But when i display in desktop IE the text is displayed at top and below that the button is displayed.But here only the text is displayed but not the command button.How to solve it? I
tried in openwave 6.2.2
Oct 26, 2007 03:43 AM|jimmy q|LINK
First off all, you should NOT be injecting HTML onto your mobile web page. Not all handsets/devices support HTML, that could be a reason why the button is not being rendered.
As a very simple example, why not create a new mobile webform, add one mobile command control, and a mobile label control. In the label control just add some basic text WITHOUT HTML markup and let us know whether this pages renders the button + text in openwave
Oct 26, 2007 05:10 AMfirstname.lastname@example.org|LINK
As you said i can able to display the text in label control and also the command button is visible.But in my scenario i want to display the contents with images similar web pages in desktop.So i selected the html.
1)So how can i display the content with images in between.
2)How to place the web form control in different location.ie like location property for controls in .netcf.
Oct 26, 2007 05:18 AM|jimmy q|LINK
When developing mobile web applications there is always a compromise. The first thing you should do is research into your target market and the target devices, so you can use the appropriate standards like either WML, HTML, XHTML, cHTML etc
If you want to use HTML then you should add a deviceSpecific filter to your mobile web form, and select the filter for isHTML. The deviceSpecific filter will have a contentTemplate where you can then add HTML elements and ASP.NET controls. The problem with
doing this is only devices that support HTML will trigger this deviceSpecific filter and it will render the HTML output. IF the device used to visit your web site only supports WML then they get no display.
Oct 26, 2007 05:31 AMemail@example.com|LINK
Thanks Jimmy for your quick reply.
Since i am new to mobile web application i don't know how to place the web form control in different location.ie like location property in windows application.can you please help me how to drag the control.Now i can't able to move the control to differnet
I am from .net compact framework.So can you please suggest some links to learn the basics of mobile web application.
Oct 26, 2007 05:42 AM|jimmy q|LINK
Thanks Jimmy for your quick reply.
If you happy in using HTML then first thing you should look into are deviceSpecific controls http://msdn.microsoft.com/en-us/library/z8cx8ce0.aspx
Drag one of these controls onto your mobile web form, and select the filter type to isHTML. This will give you a contentTemplate which is editable. In this contentTemplate which is like a panel you can then add your normal HTML controls.
So you can use divs and tables to position controls and CSS much like normal web development, however not all things will render fine on a mobile device so keep testing to find the right balance.
You can have a read of ASP.NET mobile controls from msdn http://msdn.microsoft.com/en-us/library/5ac0ydhh.aspx
Here are a couple of links that give you some samples and tutorials