Posted on: 7/10/2013 6:21:22 AM | Views : 261

Dim ctrl As DropDownList = New DropDownList() Dim j As ListItem = New ListItem("Select Year") ctrl.ID = "DropDownList1" ctrl.AutoPostBack = True ctrl.EnableViewState = True
Dim j As ListItem = New ListItem("Select Year")
ctrl.Items.Add(j)
both the functions ar enot getting called ??
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Debug.WriteLine("in selectted index")
End Sub

...

Go to the complete details ...