Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C ASP.NET Ajax Telerik
Hi all, i am creating the website in that i am having three master pages and also am using ajax controls and telerik controls now i had a pblm i want to define the scriptmanager in both master and content pages what i have to do know ...
Posted 17-Sep-12 3:24am
vithal wadje at 17-Sep-12 8:27am
you need to define the script manager on content page because you have using ajax control on content page rather than on master page

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

RadScriptManager and ScriptManager both are probably same.
Take RadScriptManager in all three master pages. And if required then take RadScriptManagerProxy in content pages.
If you have the script manager in your master for instance which will go across all pages but you want a script manager reference in an underlying page or user control. In that instance you can add multiple proxies. If you added another script manager then you'll get the error on the page
echosound at 17-Sep-12 8:36am
am getting the result by adding a scriptmanger instead of radscriptmanager and add a scriptmanagerproxy into my contentpages is that getting any error in future
_Amy at 17-Sep-12 8:38am
No, you won't get any error. I would suggest you to use RadScriptManager if you are using telerik controls.
echosound at 17-Sep-12 8:44am
but , i am using both ajax and telerik controls into my forms

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web01 | 2.8.150326.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100