This is a migrated thread and some comments may be shown as answers.
Using RadScript Manager in Master Pages
3 Answers 27 Views
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 22 Jul 2009, 04:42 PM
I understand that you have to have a ScriptManager or a RadScriptManager on your page before you add any Ajax controls.  But what do you do if you have a RadMenu on your master page with the RadScript Manager and then on your content page you have a RadGrid?  How do you enable Ajax onto the RadGrid with your ScriptManager or RadScriptManager?  I'm a bit perplexed as to how this would work being that you can only have one ScriptManager or RadScriptManager per page.

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 23 Jul 2009, 08:30 AM
Hello Brett,

RadScriptManager can replace the regular MS ScriptManager control and serves the same purpose with the addition that it combines the scripts of all RadControls on the page for better performance. More information about our RadScriptManager can be found here:

http://www.telerik.com/help/aspnet-ajax/radscriptmanager.html

RadAjaxManager, on the other hand, helps you ajaxify controls and provide granular ajax settings when necessary (without the necessity to use MS UpdatePanels and attach ajax triggers). How to ajaxify controls in master/content page or webform/user control scenario you can see from the following online demo of the product:

http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/usercontrol/defaultcs.aspx
(examine the information from the help topics linked at the bottom of the Description tab as well)

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Syed
Top achievements
Rank 1
answered on 22 Aug 2014, 12:58 PM
HI ,
       i need to get the rad script manager id from user control which is placed in master page....can anyone help me 

0
Hristo Valyavicharski
Telerik team
answered on 27 Aug 2014, 11:02 AM
Hi Syed,

Something like this should be working:

protected void Page_Load(object sender, EventArgs e)
{
    RadScriptManager scriptManager = (RadScriptManager) this.Master.FindControl("RadScriptManager1");
    string ID = scriptManager.ClientID;
}

I hope this helps.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
Brett
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Syed
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or