Hi!
I'm quite new to this so excuse me if this is a stupid question.
I created an extended dropdownlist based on the instruction on the asp.net site.
(http://www.asp.net/general/videos/how-do-i-extend-and-customize-an-aspnet-server-control-for-a-specific-purpose)
My control gets a list of items from LINQ to SQL.
here's my problem:
When the page I used the control on posts back, the list get's re-initialized and looses it's selection.
How do I overcome this problem and keep the selection upon postback?
Public Class ddlState
Inherits DropDownList
Private _ListUsage As Integer = 0
Public Property ListUsage As String
Get
Return _ListUsage
End Get
Set(ByVal value As String) ...
Go to the complete details ...