Last post Jun 12, 2012 02:40 PM by GeorgeTheOne
Jun 12, 2012 02:10 PM|GeorgeTheOne|LINK
I have a dropdownlist1 which has been manually filled. I have a code behind to fill another dropdownlist2 using dropdownlist1's selected indexchanged event.
I tried Autopostback="true" for dropdownlist1.
It loads the listitems for the first selection.
But when i change the selection, it does not post back. The list items remain the same.
Please help me... Thanks!
Jun 12, 2012 02:23 PM|Mudasir.Khan|LINK
after setting Autopostback="true" for dropdown1 we need to implement the event on selectionIndexChange inside this event bind the dropdown2
please check this
Jun 12, 2012 02:28 PM|GeorgeTheOne|LINK
Hey Mudasir! Thanks for replying.... Really appreciate it...
Can you also let me know how could i clear the contents of another dropdownlist using same event?
Jun 12, 2012 02:29 PM|nadellas|LINK
here is the Sample Code..
ddlScorecardName.DataSource = <<dataSource>>;
Thats a Sample which I pulled from Code. Please try to implement in a similar Way.
Jun 12, 2012 02:32 PM|GeorgeTheOne|LINK
How do i clear the values of the dropdownlist on selected index change of another dropdownlist?
Jun 12, 2012 02:39 PM|nadellas|LINK
that clears the items in the DropDown.
Jun 12, 2012 02:40 PM|GeorgeTheOne|LINK
I got it...
Learning many things since i'm new...
Thanks a lot every1!!!!!