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

how to disable scroll in ajax call using RadAjaxManager and RadAjaxLoadingPanel?

1 Answer 109 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
khaled jendi
Top achievements
Rank 1
khaled jendi asked on 07 Nov 2010, 10:00 PM
hi,

I wanna disable or hide scroll bar (of page horz. and vert.) when ajax call comes up to change panel content using RadAjaxManager and RadAjaxLoadingPanel, and I wanna restore or enable it after ajax has been finished calling, so how do I do that?

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Nov 2010, 04:19 PM
Hello,

You could hide the scroll bar OnRequestStart event by using the following style:

document.body.style.overflow = 'hidden'

 and enable them again in OnResponseEnd event.

Sincerely yours,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
khaled jendi
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or