A Page has Repeater Control displays students records, when click on any record it displays total info, this page has a dropdownlist and other controls contained in panel set to visible false. When the user search it displays the students info [ 10 rows ]
it displays SSN, FName, LName,DOB when he wants to see the more detail description of the student he clicks on that student row , then we make panel to be visible
it has a dropdown and set its dataTextfield to all the departments from the database. Here i want to display the dropdown to its default "Select deptartment" he selects any dept and clicks "SAVE" then page reloads and it again it should set to its default value "Select deptartment"....this one i am unable to do this
i did this way dd.items,insert(0,"Select deptartment").....> with this each time page reloads this item is added to dropdown
and i tried dd.selectedindex= 0
as the data items are coming from database..we cannot set the value to its default.. please urgent...