Monday, August 18, 2008

Getting a handle to a dropdownlists event that is inside a template column

Real easy. It's the sender in the function.....

Protected Sub myDRD_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)

Dim myDRD As New DropDownList
myDRD = CType(sender, DropDownList)

End Sub

No comments: