I'm working on asp.net website with Vb.net and I have a dropdownlist with autopostback = true and I need to get the selected value when I change the item or I want to get the item which fires the selectedindexchanged event ..
any help please..
I'm working on asp.net website with Vb.net and I have a dropdownlist with autopostback = true and I need to get the selected value when I change the item or I want to get the item which fires the selectedindexchanged event ..
any help please..
In ie. your Page_Load set
Then write the event handler like this:
Make sure that in your Page_Load you write this before setting the combobox default value or you will end up with this always being the selected item:
try this:
If item is a Dictionary: