This is a migrated thread and some comments may be shown as answers.

Blocking a RadWindow while processing

4 Answers 124 Views
Window
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 22 Oct 2012, 04:24 PM
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.

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 Oct 2012, 10:15 AM
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.
0
Alex
Top achievements
Rank 1
answered on 11 Dec 2012, 08:32 PM
Thanks Guys,
Telerik is awesome, I love it!!!

Another question, Can I change the loading Image?

Thanks!
0
Marin Bratanov
Telerik team
answered on 13 Dec 2012, 01:41 PM
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.
0
Alex
Top achievements
Rank 1
answered on 26 Dec 2012, 11:51 AM
Thanks Guys!
Tags
Window
Asked by
Alex
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Alex
Top achievements
Rank 1
Share this question
or