Sunday, March 11, 2012

CascadingDropDown and UserControl - with no web services

I don't believe you can expose UserControl methods as callbacks. They have to be declared on the page. The best you'll be able to do is expose a method on your user control and pass the call through from a method on the page.
Is this still the case? I also have a usercontrol with a pagemethod that I would like to place on a master page. It seems to defeat the purpose of a user control when I have to write two pass through methods (one on the masterpage and one on the content page...)
Hi DrClick,

I think this is still the case for page methods in user controls, but you should try it on the latest release.

Thanks,
Ted

I haven't tried this recently has anyone had any luck with this?

I would hate to use 2 .net AJAX Frameworks, but I did stumble on to this example that works well for this.

http://www.ajaxpro.info/Examples/Special/controls.aspx

So now on every new project its:

AJAX.net, AJAX Control Toolkit, AJAXPro.net, YUI, JQUERY, DOJO, YUI-Ext, MOOTOOLS, Scriptaculous.

This is getting fun. Am I missing any.

No comments:

Post a Comment