1 Attachment(s)
Invoke a Method when UserControl's textbox event is fired
Good Day
I have a page that has a UserControl on it and i want to call a Method in the Host page that will fire when a textbox texchanged event got fire.
http://www.vbforums.com/attachment.p...1&d=1242811920
i want to Invoke the Function the the "Remove Staff " Button that has been Disabled has been clicked.
Thanks
Re: Invoke a Method when UserControl's textbox event is fired
Hey,
What you want to do is create an Event in the UserControl, and subscribe to that event in the main page. Then, when you raise the Event in the UserControl, you can take additional action in the Event Handler on the host page.
Have a look at this article here:
http://codebetter.com/blogs/brendan....-Controls.aspx
On doing just that.
Hope that helps!!
Gary