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

Restrict Other Control Access using RadAjaxLoadingPanel

1 Answer 43 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 14 Mar 2012, 02:57 PM
Hi Team,

while loading the RadAjaxLoadingPanel, we need to restrict the access to other conrols. this panel is used in masterPage only.
we have used radAjax controls.
i.e., Page has 4 buttons and lot of other controls. while clicking "button1" , the Loadingpanel and its image will be displayed. at the same time, we can access(click) the other(button) controls.
kindly clarify this one.

Regards,
Meenakshi

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 19 Mar 2012, 10:37 AM
Hello,

You could achieve your goal by hooking the OnRequestStart event of RadAjaxManager. This event will be fired just before the request is sent. On this event you could find and disable all the controls that you want.

After, the request has been sent and as soon as the response is received you need to re-enable the controls. You could do that by hooking the OnResponseEnd event. Here you will need to find once again the controls and set them as enables.

Give this approach a try and check whether it is working for you.

Greetings,
Andrey
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
Andrey
Telerik team
Share this question
or