Last post Nov 30, 2007 02:48 AM by Zhao Ji Ma - MSFT
Nov 27, 2007 07:20 AMfirstname.lastname@example.org|LINK
I am binding some values to asp listbox controls in device filters.
For example item1,item2,item3 .. are binded and displayed in the listbox controls.
Since there was no selectedindexchanged event,i am selecting the value item1 and i am clicking a button to get the value that is selected.
This works on HTML devices but not on WML devices.
ie i can't select both listbox and button at a same time.
Is there is any workaround?
Nov 30, 2007 02:48 AM|Zhao Ji Ma - MSFT|LINK
If your web pages are targetting for mobile devices, we would recommend using Mobile Web Forms controls. The ASP.NET Mobile Web Forms control are designed specially for rendering code for mobile devices. Although you can still use some of the ASP.NET Web
Form controls, but them may not render well for some of the devices.
In your case, you can use the ASP.NET Mobile SelectionList instead of ListBox in ASP.NET Mobile Web Forms. You can find those control under Mobile Web Forms Toolbox in Visual Studio. For more details of this control, you can visit the following: