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

2 posts, 0 answers
  1. khaled jendi
    khaled jendi avatar
    64 posts
    Member since:
    Mar 2010

    Posted 07 Nov 2010 Link to this post

    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?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Nov 2010 Link to this post

    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
Back to Top