AjaxManager, ScriptManager or Both?

4 posts, 0 answers
  1. Sid
    Sid avatar
    18 posts
    Member since:
    Oct 2007

    Posted 07 Sep 2009 Link to this post

    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!
  2. Will
    Will avatar
    30 posts
    Member since:
    Aug 2008

    Posted 07 Sep 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sid
    Sid avatar
    18 posts
    Member since:
    Oct 2007

    Posted 08 Sep 2009 Link to this post

    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
  5. Will
    Will avatar
    30 posts
    Member since:
    Aug 2008

    Posted 08 Sep 2009 Link to this post

    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
Back to Top