Problem when using radAjaxmanager in Umbraco..

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    5 posts
    Member since:
    Jun 2009

    Posted 30 Jul 2010 Link to this post

    I have problems using the RadAjaxManager in a CMS called "Umbraco".

    when I want to add ajaxsetting in umbraco page dynamically, I got some error .
    [ArgumentNullException: Value cannot be null. Parameter name: page] Telerik.Web.UI.RadAjaxManager.GetCurrent(Page page) +170 Telerik.Web.UI.AjaxSettingsCollection.AddAjaxSetting(Control ajaxifiedControl, Control updatedControl, RadAjaxLoadingPanel loadingPanel) +294 

    here is my simple code

    public partial class ProductListSetting :   UmbracoEnsuredPage
        protected void Page_Load(object sender, EventArgs e)
                RadAjaxManager1.AjaxSettings.AddAjaxSetting(save, rgProductList,null);


  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 30 Jul 2010 Link to this post

    Hello Kevin,

    Change your AddAjaxSetting line to this:

    RadAjaxManager1.AjaxSettings.AddAjaxSetting(save, rgProductList);

    I removed the "null" value that was passed to the LoadinPanel parameter.

    I hope that helps.
  3. Kevin
    Kevin avatar
    5 posts
    Member since:
    Jun 2009

    Posted 30 Jul 2010 Link to this post

    Hi Cori,

    I have tried this before I post this problem....

    I still got this error.

    any suggestion?
  4. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 03 Aug 2010 Link to this post

    Hi Kevin,

    Please elaborate a bit more on your application. Are you using MasterPages or UserControls in it? If yes, in which page the RadAjaxManager is placed and how you get reference to it? More information on your scenario and the RadAjax settings you have added will help us further research on the issue.

    Maria Ilieva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. James
    James avatar
    4 posts
    Member since:
    Apr 2012

    Posted 19 Aug 2013 Link to this post

    For our situation, the fix was to put the RadAjaxManager.AjaxSettings.AddAjaxSetting after adding the panel to the Controls (Controls.Add(panel)).
Back to Top