Hi,
I am unable to implement PageMethods feature of the scriptmanager in a usercontrol, is a way in which this can be done?
Hi,
I am unable to implement PageMethods feature of the scriptmanager in a usercontrol, is a way in which this can be done?
No this can't be done. See "PageMethods in UserControl" and "ASP.NET AJAX Page Methods from UserControl".
I was pretty simple, we just need to write the pagemethods in the codebehind of the aspx page in which the ascx will be embedded and voila! we can now use the PageMethods feature of the scriptmanager in a usercontrol.