Groups | Blog | Home
all groups > asp.net building controls > april 2004 >

asp.net building controls : Passing messages to forms


William Gower
4/30/2004 2:05:04 PM
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?

Janaka
6/9/2004 12:19:49 PM
The best method is to create an event within your control and then respond
to this event being fired in your aspx form.

[quoted text, click to view]

AddThis Social Bookmark Button