Still Not working.. Here is some code:
Sub Page_Load
If Not IsPostBack Then
lblNotes.Visible = True
txtNotes.Visible = False
btnUpdateNotes.Visible = False
Else
Session("ItemSel") = ddlItem.SelectedItem.Value
ddlItem.SelectedItem.Value = Session("ItemSel")
ddlItem.SelectedItem.Selected = True
End If
End Sub
"Ben" <be*@online.nospam> wrote in message
news:89*************@fe37.usenetserver.com...
Don't rebind the control during selected index changed. If you must,
store the selected value, rebind it, then reapply the selected value.
"Randy Rubin" <ra***@imarubin.com> wrote in message
news:u8**************@TK2MSFTNGP09.phx.gbl... Does anyone know how to Make an Item selected in a DropDownListBox when
Binding it to data. When it changes it populates another TextBox but the
DDLB does not retain it's selected value.
Thanks
Randy