AJAX Scroll Issue with Div

1 posts, 0 answers
  1. Nayan
    Nayan avatar
    2 posts
    Member since:
    Feb 2012

    Posted 01 Jun 2012 Link to this post

    I am using RadAjaxManager and RadAjaxManagerProxy for achieving AJAX in my page.  I have asp:PlaceHolder which have all dynamic controls and i want to refresh those set of controls on AJAX call. I have put that in panel which i have placed in div to get the fix region with scroll bar.

    <div id="dvQuestionSection" class="QuestionSection" onscroll="SetQuestionSectionScrollPos()">
        <asp:Panel ID="pnlPhFields" runat="server">
            <asp:PlaceHolder ID="phFields" runat="server"></asp:PlaceHolder>
        </asp:Panel>
    </div>
     
    After ajax call gets completed, scroll position of div gets changed. And what i have noticed is, this happens especially when I have RadEditor control in place holder and it set the scroll position so that RadEditor comes visible.

    I want to be on same scroll position where I am invoking ajax call.
    Any direction on this will be a great help.

    Thanks
    Paresh
Back to Top