events for dropdownlist found in a datagrid?

  • Thread starter Thread starter Jeffrey
  • Start date Start date
J

Jeffrey

hi

how can i process the OnSelectedIndexChanged for a DDL in a datagrid???... i
added the
OnSelectedIndexChanged = "MyFunction"
in the asp tag and it doesnot seem to call MyFunction

And I cannot add the
handles ddl.OnSelectedIndexChanged
in the function declaration
 
Sounds like you need to declare the DDL WithEvents using
Protected Scope.

ie...
Protected WithEvents ddlMyList As _
System.UI.WebControls.DropDownList
 
Back
Top