Groups | Blog | Home
all groups > asp.net mobile > august 2005 >

asp.net mobile : DropDown with AutoPostBack


Max
8/29/2005 8:46:26 AM
How can i force AutoPostBack when i change an item of dropwdown ?
Thanks

Max
8/30/2005 12:00:00 AM
but in dorpdown mobile control don't exist AutoPostBack properties...
thanks

"Paul D. Fox" <pdfox99@rcn.com> ha scritto nel messaggio
news:O9OP0vWrFHA.240@tk2msftngp13.phx.gbl...
[quoted text, click to view]

Paul D. Fox
8/30/2005 10:05:59 AM
Change the "AutoPostBack attribute to "True" in the "Properties" of the
Control. Or, in HTML add "AutoPostback="True" after the Control ID

Paul

[quoted text, click to view]

Paul D. Fox
8/30/2005 5:01:33 PM
I think you'll need to add a command to the control called
"onSelectedIndexChanged" then write an Event in the Code-Behind.

<mobile:SelectionList id="SelectionList1" runat="server" SelectType=DropDown
OnSelectedIndexChanged="onSelectedIndex_Changed"></mobile:SelectionList>

Paul

[quoted text, click to view]

Max
9/2/2005 8:42:51 AM
but this not generate a AutoPostBack...

"Paul D. Fox" <pdfox99@rcn.com> ha scritto nel messaggio
news:uCFECYarFHA.908@tk2msftngp13.phx.gbl...
[quoted text, click to view]

vbpavel
10/11/2006 2:10:48 AM

Hi Max,

I'm also having the same AutoPostBack problem.
The current solution I know is working is:

Using a DeviceSpecific control and putting a standard ASP.NET combobox
inside it.

If you want details (code) about this, please contact me at

ptsekov@logsys.be

Greetz,
Pavel


[quoted text, click to view]



--
vbpavel
------------------------------------------------------------------------
http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1820308.html
AddThis Social Bookmark Button