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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top