This is a migrated thread and some comments may be shown as answers.

RadScriptManager and AjaxToolkitScriptManager

4 Answers 114 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Dédé
Top achievements
Rank 1
Dédé asked on 19 May 2009, 10:04 AM
Hi,

In my webapp, I use Telerik lib and ASP.NET Ajax Toolkit.

Which ScriptManager should I use ?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 19 May 2009, 12:54 PM
Hi Damien,

You can safely use RadScriptManager only.

All the best,
Veselin Vasilev
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
Dédé
Top achievements
Rank 1
answered on 19 May 2009, 01:09 PM
I have replaced all AjaxToolkitScriptManager with RadScriptManager, and I have this error :
FileLoadException: Le nom ou le code base de l'assembly donnĂ© n'est pas valide. (Exception de HRESULT : 0x80131047)] 
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0 
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64 
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58 
   System.Type.GetType(String typeName) +50 
   Telerik.Web.UI.WebResource.Exists(HttpContext context, String path, String applicationPath) +552 
   Telerik.Web.UI.RadScriptManager.OnPreRender(EventArgs e) +86 
   System.Web.UI.Control.PreRenderRecursiveInternal() +80 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Control.PreRenderRecursiveInternal() +171 
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 
 

I use assembly version 2009.1.402.35
0
Dédé
Top achievements
Rank 1
answered on 19 May 2009, 05:27 PM
Since my app contains rad controls and custom controls designed on top of ajaxcontroltoolkit, how can I do to use both ?
0
Veselin Vasilev
Telerik team
answered on 22 May 2009, 12:20 PM
Hello Damien,

You cannot use both because they both inherit from ScriptManager class.

Please open a new support ticket and attach a simple working project where we can see the problem.

Thanks

Kind regards,
Veselin Vasilev
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.
Tags
ScriptManager and StyleSheetManager
Asked by
Dédé
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Dédé
Top achievements
Rank 1
Share this question
or