Passing messages to forms

W

William Gower

I created a user control called MyToolBar which is a toolbar with a preset
number of buttons such as Close, Add, Edit, Delete, Find etc. When the user
clicks on the Find button, in my Button_Click procedure how do I pass a
message to the appropriate form such as Vendors that the button was clicked?
 
J

Janaka

The best method is to create an event within your control and then respond
to this event being fired in your aspx form.
 

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,266
Messages
2,571,083
Members
48,773
Latest member
Kaybee

Latest Threads

Top