events for dropdownlist found in a datagrid?

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
 
S

Stevo

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top