Last post Feb 11, 2007 11:41 PM by colinbo
Jan 11, 2007 04:39 AM|Siddero|LINK
I have created a simple Mobile WebForm with two SelectionList controls with SelectType as DropDown. When I access this page on a Motorola V3i the first dropdown is displayed as a numbered list with indexs from 1- 9 for the first 9 values of the dropdown
and the rest without numbers but still as a list. Every dropdown control after the first one is diplayed as expected i.e it appears like a textbox... when one clicks on this box, a list is displayed where one can choose a value among the list and then the
textbox shows this value.
The page displays appropriately in all other devices that I could test with - Nokia S40, Nokia S60, Blackberry, Symbian/Mozilla etc. It only seems to be a problem with Motorola handsets. Has anyone faced a similar issue before. Further if anyone could point
me to a site from where I could download a Motorola V3 emulator (or any motorola emulator for that matter) to understand request/response headers. Any help would be greatly appreciated.
Thanks is advance.
Jan 11, 2007 07:41 AM|grajeshkreddy|LINK
You can find motorola emulators at www.motocoder.com and I think u need to Profile those devices for ASP.Net web applications (Refer http://forums.asp.net/thread/1272726.aspx Device profiling which is on Top of this forum in page 1)
Jan 12, 2007 07:41 AM|Siddero|LINK
Thanx for the response but unfortunately it didn't help me much. I had already downloaded the V6.3 SDK from motorola (motocoder.com) but apparently all that one can do on these emulators is run/test java applications. Or is there some specific emulator
that lets one simulate a browser behaviour (say calling an aspx page)? Have you actually tried some emulator from motocoder.com for testing an ASP.Net application? If you could specify which emulator version you downloaded it will be of great help.
Jan 23, 2007 05:20 AM|defza|LINK
I know EXACTLY what you mean.
Have you found the solution? I have!
The dropdowns are displayed as lists on Motorolas. The way to make it behave properly is to use <optgroup>'s in the <select>.
Read more here:
motorola dropdown html
Jan 29, 2007 07:37 AM|Siddero|LINK
Thanx for the response. The solution proposed by you helps only if the lists are created statically. If they are created and populated dynamically, ASP.Net 2.0 Mobile's SelectionList control does not provide an '<optgroup>' element. Apparently one
needs to create a custom-control that inherits from SelectionList. Try this thread for a better explanation <http://www.velocityreviews.com/forums/t81224-dynamically-adding-content-to-selection-list-in-aspnet-vbnet.html> . Or have you found a method to implement
this '<optgroup>' behaviour dynamically as well? If you have, a little more help would be very welcome [:)]
Feb 08, 2007 10:58 AM|defza|LINK
Feb 11, 2007 11:41 PM|colinbo|LINK
ASP.NET is a free. You can get access to it through the SDK or Visual Web Developer Express
You can purchase Visual Studio 2005 which has a richer feature set for development, but it's not needed to get into the game.