Scroll to FormTemplate

3 posts, 0 answers
  1. Polaris431
    Polaris431 avatar
    30 posts
    Member since:
    Jul 2007

    Posted 30 Mar 2009 Link to this post

    My grid has static headers and scrolling is turned on. Suppose that the grid is loaded with many records. If I go to edit the row located at the top of the visible part of the grid, the FormTemplate will load as expected and all the controls in the FormTemplate are visible. On the other hand, if I edit a row at the bottom of the visible part of the grid while there are still rows below it, the FormTemplate will load as usual but is below the visible area of the grid. The user has to use the vertical scrollbar to scroll down to the FormTemplate in order to enter in data. Is there a way to bring the row being edited to the top of the visible area so that the FormTemplate is visible without scrolling?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Mar 2009 Link to this post

    Hi,

    I guess this is an expected behavior of the Grid since the edit form will appear beneath the row which is being in edit mode. If this is not okay for you consider setting the EditMode to PopUp. You can also refer the following help article which explains how to center the Pop-up edit form.
    Center PopUp edit form in RadGrid

    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Polaris431
    Polaris431 avatar
    30 posts
    Member since:
    Jul 2007

    Posted 31 Mar 2009 Link to this post

    There is a posting that shows how to bring a selected row into the viewable scrolling area. There obviously must be a similiar way of forcing the edited row to appear at the top of the viewable area. The problem is that Telerik doesn't publish the internal DOM tags and attributes that get rendered to the published tags and attributes that developers use in the aspx files. That leaves me with having to reverse engineer the rendered HTML in order to figure out what tag needs to be referenced. It would be helpful if Telerik could at least indicate what parts of the DOM I need to use.
Back to Top