GridView - After submit, want to keep selected row visible

Discussion in 'ASP .Net' started by Jason, Dec 12, 2009.

  1. Jason

    Jason Guest

    Hello,

    I have a GridView with a number of rows in it. I need to scroll up
    and down the grid view in order to see all the rows.

    The problem is, when I scroll down, and highlight a row, then click
    "submit", when the new page is rendered, the GridView shows the first
    row, not the row that I show highlighted (after scrolling down and
    clicking on submit).

    How can I fix this problem in both IE and Firefox?

    Thanks
    Jason
     
    Jason, Dec 12, 2009
    #1
    1. Advertising

  2. On Dec 12, 12:54 pm, Jason <> wrote:
    > Hello,
    >
    > I have a GridView with a number of rows in it.  I need to scroll up
    > and down the grid view in order to see all the rows.
    >
    > The problem is, when I scroll down, and highlight a row, then click
    > "submit", when the new page is rendered, the GridView shows the first
    > row, not the row that I show highlighted (after scrolling down and
    > clicking on submit).
    >
    > How can I fix this problem in both IE and Firefox?
    >
    > Thanks
    > Jason


    May I see the code of the gridview please? Does it look similar to my
    example on
    http://groups.google.com/group/micr....aspnet/browse_thread/thread/cdf4f5f019eabdcf
     
    Alexey Smirnov, Dec 14, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. H5N1
    Replies:
    0
    Views:
    2,744
  2. Bob
    Replies:
    3
    Views:
    1,582
  3. Want to add row under selected row of gridview

    , Feb 16, 2007, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    319
  4. Selected Row Only GridView Row Visible?

    , Oct 17, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    307
  5. Replies:
    4
    Views:
    309
    Ray Costanzo [MVP]
    Oct 4, 2005
Loading...

Share This Page