Blocking a RadWindow while processing

5 posts, 0 answers
  1. Alex
    Alex avatar
    5 posts
    Member since:
    Mar 2011

    Posted 22 Oct 2012 Link to this post

    Hi Guys,

    I'm working with a RadWindow, when this is loading show a image processing, but I want to know how can I to do to show and image when this radwindow is processing before to close.

    The Radwindon take arround 20 seconds while processing the postbak before to close.
    I need to block IU while this process de request.

    Thanks.
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 23 Oct 2012 Link to this post

    Hi Alex,

    I am attaching here a simple example how this can be achieved. Note the ShowContentDuringLoad property of the RadWindow is set to false and there are two extra JavaScript function calls - on the client-side click of the button the loading sign is shown, then it is hidden before closing the RadWindow so that it is in the expected state when it closes.


    Regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Alex
    Alex avatar
    5 posts
    Member since:
    Mar 2011

    Posted 11 Dec 2012 Link to this post

    Thanks Guys,
    Telerik is awesome, I love it!!!

    Another question, Can I change the loading Image?

    Thanks!
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 13 Dec 2012 Link to this post

    Hello Alex,

    The following KB article explains how you can do that: http://www.telerik.com/support/kb/aspnet-ajax/window/custom-loading-sign-for-radwindow.aspx. For this case the first approach that overrides the CSS class will be suitable.


    Regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Alex
    Alex avatar
    5 posts
    Member since:
    Mar 2011

    Posted 26 Dec 2012 Link to this post

    Thanks Guys!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017