Last post Nov 02, 2010 07:50 AM by prajaktadesai
Feb 24, 2008 05:36 AM|mrbrightside|LINK
Feb 24, 2008 06:36 AM|VinceArcher23|LINK
Feb 24, 2008 05:34 PM|mrbrightside|LINK
When I add the attribute declaratively like this:
I get the server error:
Now referring to your example, if I do this in my main page (the one that contains mycontrol.ascx):
If I do:
However, MyControl has the register tag at the top of the page as well as its declaration inside the form tag. It certainly seems to be defined given that everything in it (like Button1) render on the page.
Feb 25, 2008 02:08 AM|VinceArcher23|LINK
do you need to write individually the function to be called on each button on your toolbar on you user control? To be able to access it on you page you need to write a property for the function name then set it on your user control. Do it like this on your
public string onClickClientScript
this will set the clientScript for Button1
Nov 10, 2008 07:21 AM|kunalsmile|LINK
Nov 02, 2010 07:50 AM|prajaktadesai|LINK
Thank you....it really works........