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

Block access to controls in the page on ajax postback

1 Answer 108 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Meenakshi Nagalingam
Top achievements
Rank 1
Meenakshi Nagalingam asked on 16 Mar 2012, 08:31 AM
Hi,

We are using Telerik control of version 2009.2.701.35.

In our application we have requirement as when the user performs any ajax postback operation till the operation is completed the user should not be able to perform another operation (like clicking another button in the page) and so the screen should be like readonly.

We have a master page which is common for all pages in the application. Currently In the master page on Ajax OnResponseStart event we get the form tag and make it disabled and OnResponseEnd event we get the form tag and make it enabled.

In this scenario UI shows the whole screen as disabled on request start but the user is able to perform any operation.

Please let us know if there is any option to implement this functionality using RadAjax controls.

Thanks

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 21 Mar 2012, 10:42 AM
Hi Meenakshi,

Why not use the RadAjaxLoadingPanel control, its purpose is this exactly - to show loading indication and to prevent user interaction with the controls during AJAX requests:
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx

You can see how to show it over the whole screen here:
http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-make-a-radajaxloadingpanel-span-over-the-whole-page.aspx

Kind regards,
Tsvetina
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.
Tags
Ajax
Asked by
Meenakshi Nagalingam
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or