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

AjaxManager, ScriptManager or Both?

3 Answers 107 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Sid
Top achievements
Rank 1
Sid asked on 07 Sep 2009, 04:56 PM
Happy Labor Day All,

I have RADControls for ASP.net Ajax (October 2008 build) and I'm just now dusting off this toolchest.  I have a site using ASP.net 3.5 on a shared web hosting account that employs Master Pages - one for the public portion of the site, and one for the private portion of the site.

Question:  I'm familiar with RadScriptManager from previous releases (ASP.net pre-Ajax), but not as familiar with RadAjaxManager.  Is RadAjaxManager the replacement for RadScriptManager?  That is, can I use just RadAjaxManager on my master page and not RadScriptManager?  Or, are they two different items serving different purposes? 

Thanks much for your help and insight.  Your assistance is appreciated!

3 Answers, 1 is accepted

Sort by
0
Will
Top achievements
Rank 1
answered on 08 Sep 2009, 03:09 AM
Hey Sid,

As of the May 2009 build, I believe that the telerik:RadScriptManager control is obsolete.  Prior to that, I don't know for sure, but I think that the telerik:RadScriptManager was the preferred method.  The current version works on top of AJAX.NET through the asp:ScriptManager control.  Using telerik:RadScriptManager will cause problems if you attempt to use it with AJAX.NET.  Since you are using AJAX.NET, I would suggest getting the latest version of the control and to not use the telerik:RadScriptManager control.

Take it easy,
Bill
0
Sid
Top achievements
Rank 1
answered on 08 Sep 2009, 06:47 PM
Bill,

Thanks much for your response.  Funds are non-existent at this time, and therefore cannot spring for the most recent tool set.  Since I need to make due with what I have, I'll use the RadAjaxManager instead of RadScriptManager and see how things turn out.  Alternatively, if master page doesn't like RadAjaxManager I may need to remove the controls all together?

Thanks,
Sid
0
Will
Top achievements
Rank 1
answered on 08 Sep 2009, 07:49 PM
Hey Sid,

If you use the asp:ScriptManager and telerik:RadAjaxManager controls, you should be fine.  A script manager is required to use AJAX, so just use the one built into AJAX.NET (asp:ScriptManager) instead of the telerik:RadScriptManager.  I have found a bug in the telerik:RadAjaxManager, which may or may not affect you.  If the telerik:RadAjaxManager triggers an update of an asp:UpdatePanel, you need to make sure that you don't also execute the .Update() method of that update panel in your code.  If you do, the update panel will render nothing as it's contents.  Other than that, everything should be fine.

Take it easy,
Bill
Tags
Ajax
Asked by
Sid
Top achievements
Rank 1
Answers by
Will
Top achievements
Rank 1
Sid
Top achievements
Rank 1
Share this question
or