RadAjaxLoadingPanel in master page

2 posts, 0 answers
  1. Martin Horst
    Martin Horst avatar
    40 posts
    Member since:
    Apr 2010

    Posted 10 Feb 2012 Link to this post


    is it possible to place a RadAjaxLoadingPanel inside the master page so it will show on any kind of postback event!? I don't want to attach the RadAjaxLoadingPanel to specific controls like a send button which fire the postback. As for me, it should work on any page using the master page. Is this possible!?

    Thanks in advance


  2. Abhishek
    Abhishek avatar
    45 posts
    Member since:
    Jul 2012

    Posted 14 Feb 2012 Link to this post

    Hello Martin Horst,

    You can put RadAjaxLoadingPanel inside the master page and you can use is it in your all the pages. Please refer the bellow code.I have did this in my project.

    C# Code:
    if (this.Master is DialogMaster)
                   RadAjaxManager RadAjaxManager1 = (RadAjaxManager)Master.FindControl("RadAjaxManager1");
                   RadAjaxLoadingPanel RadAjaxLoadingPanel1 = (RadAjaxLoadingPanel)Master.FindControl("RadAjaxLoadingPanel1");
                   RadMultiPage RadMultiPage1 = (RadMultiPage)Master.FindControl("RadMultiPage1");
                   RadAjaxManager1.AjaxSettings.AddAjaxSetting(RadMultiPage1, radButton, RadAjaxLoadingPanel1);

    Let me know if any issue.

    Abhishek K
Back to Top