B
buga
Hi
I've made my own DropDownList by deriving the WebControls.DropDownList control. So far, all I did was to override the Render procedure and fill the control with some pair of values/strings
Protected Overrides Sub Render(ByVal html As HtmlTextWriter
MyBase.Items.Add(New ListItem("something",somevalue
..
MyBase.Render(html
End Su
However, unlike the base control, my derived dropdownlist doesn't maintain state after postback, so I can't access properties like selecteditem
What must I do?
I've made my own DropDownList by deriving the WebControls.DropDownList control. So far, all I did was to override the Render procedure and fill the control with some pair of values/strings
Protected Overrides Sub Render(ByVal html As HtmlTextWriter
MyBase.Items.Add(New ListItem("something",somevalue
..
MyBase.Render(html
End Su
However, unlike the base control, my derived dropdownlist doesn't maintain state after postback, so I can't access properties like selecteditem
What must I do?