Not able to Raise Events

K

King Kong

ive inherited datagrid to make my own custom control
this custom control have a server side button that is not generating click
event
i want to capture click events from this serverside buttons in my webcontrol
i have instantiated this button in this way.
Protected WithEvents btnImgSearch As New Button


If i disable the Viewstate of my custom control im able to get the event
raise but I dont want to disable my view state here. Please Help

Regards

King Kong
 

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
473,774
Messages
2,569,596
Members
45,130
Latest member
MitchellTe
Top