asp.net dropdownlist
-
hi friends i am retriving data from xml .i got all the xml value in dropdown list.i have done this
asp:DropDownList id="dropdl"
AutoPostBack="true" runat="server"
OnSelectedIndexChanged
="rnd" but when i select any value from dropdownlist it gives only first value even if i am selected other value why??????????????????????? -
hi friends i am retriving data from xml .i got all the xml value in dropdown list.i have done this
asp:DropDownList id="dropdl"
AutoPostBack="true" runat="server"
OnSelectedIndexChanged
="rnd" but when i select any value from dropdownlist it gives only first value even if i am selected other value why???????????????????????Yes, this is very annoying. Can't tell you why it happens, but I usually avoid the problem by using .selecteditem instead of .selectedvalue.