Monday, December 20, 2010

MasterPage and Ajax toolkit

If a content page wants to add a control from ASP.Net Ajax toolkit, like the tab control, it can not simply add the control in it. Doing so will causes an error of resource can not be found...
Before adding an Ajax control in content page, the master page must add the script manager that will be shared by all content pages.
In addition, a content page can also include its own javascrpt file by using script manager proxy
Note that both master page and content page need to @register ajaxcontroltoolkit assmemby.

Jonathan

No comments:

Post a Comment