How to grey out the grid and disable while loading

Thread is closed for posting
5 posts, 0 answers
  1. Sub
    Sub avatar
    91 posts
    Member since:
    Nov 2007

    Posted 08 May 2009 Link to this post

    I used to have a RadGrid inside AJAXPanel and specify LoadingPanelID="ajaxLoadingImage"

     

    <telerik:RadAjaxLoadingPanel ID="ajaxLoadingImage" EnableViewState="false" runat="server" BackColor="Gray" Transparency="90">

     

     

    </telerik:RadAjaxLoadingPanel>

    I want to grey out the grid and disable it when ever the grid is loading in MVC. I understand The Rad Ajax is not supported in MVC. Is there any work around to grey it out?

    Thanks 

     

  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 11 May 2009 Link to this post

    Hello Sub,

    I guess you are building your submit buttons/links in MVC using Ajax.ActionLink - AjaxExtensions..::.ActionLink Method .
    This extension method has as last parameter AjaxOptions in which you can specify markup that will be used as loading panel and show above the updated content. There are also few event that you can use for customizing where and what to be shown: AjaxOptions..::.LoadingElementId Property

    Greetings,
    Nikolay
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sub
    Sub avatar
    91 posts
    Member since:
    Nov 2007

    Posted 11 May 2009 Link to this post

    I am sorry I did not mention that I am using JQuery to load the grid. The Fading on images can be done by jquery. But I could NOT grey out the RadGrid.
  5. Sub
    Sub avatar
    91 posts
    Member since:
    Nov 2007

    Posted 13 May 2009 Link to this post

    Is there any workaround suggested by Telerik??
  6. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 14 May 2009 Link to this post

    Hello Sub,

    For your convenience I am attaching sample project.
    It demonstrates ajaxified RadGrid in MVC project. There are two handlers attached: OnBegin and OnComplete/more info on AjaxOptions Properties/. Those events are fired whenever you click on RadGrid(page/sort etc.) and you can use them to do your custom loading screen.
    In both events you have reference to RadGrid client object.

    Please find the attached project and review the code.

    Best wishes,
    Nikolay
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017