G
Guest
I have a dropdown control for a mobile form,
<mobile:SelectionList id="NumberList"
OnSelectedIndexChanged="NumberList_Command"
runat="server"></mobile:SelectionList>
The code I'm using in the method is,
void NumberList_Command( Object Source, EventArgs E ){
labelselect.Text= NumberList.SelectedItem.Text;
}
Which give me an error. What is the proper code to find what text is
selected in the SelectionList control, and can I make it fire automatically
when it is changed?
Thanks.
<mobile:SelectionList id="NumberList"
OnSelectedIndexChanged="NumberList_Command"
runat="server"></mobile:SelectionList>
The code I'm using in the method is,
void NumberList_Command( Object Source, EventArgs E ){
labelselect.Text= NumberList.SelectedItem.Text;
}
Which give me an error. What is the proper code to find what text is
selected in the SelectionList control, and can I make it fire automatically
when it is changed?
Thanks.