Programmatically set scroll position on Master/Child grid?

3 posts, 0 answers
  1. MikeK
    MikeK avatar
    46 posts
    Member since:
    Oct 2007

    Posted 30 Apr 2009 Link to this post

    I found the articles posted on how to set scroll position client-side for a grid, but it doesn't work for my purpose. I have a master/child grid where I am expanding the selected child, then selecting the row with the data from code. I've implemented a search form on a tab that switches to the main master/child tab with the data, expands the correct child entry, selects it, then fires two more grids that are related.

    All of my code works except that I can't move the child grid positions. This is annoying since I'm using it for a medical provider directory. A single expansion can span about 4 screens. If I could pull the scroll into position it would really help the interface and user experience.

    A text example of what I'm discussing:

    MASTER GRID
      CHILD-A
      CHILD-B
      CHILD-C
      ETC.

    Figure the child records go to ZZZZ. I have the key to my desired row, how do I move the scroll bar to this record?

    Thanks!

  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 05 May 2009 Link to this post

    Hey Mike,

    What was wrong with the article on setting scroll position client-side that it did not work for you? Was it producing any sort of error?

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. do
    do avatar
    1 posts
    Member since:
    Jun 2009

    Posted 05 Jun 2009 Link to this post

    Can you please post your source code here or zip it? (all the pages, code behind pages, js if used, etc.).

    Thanks
    do
Back to Top