How to auto-select a GridView row that is being edited?

Discussion in 'ASP .Net' started by dan, May 6, 2008.

  1. dan

    dan Guest

    Hi,

    I'd like to the row being edited to be also selected. That is, I don't
    want one row to be selected while another row is being edited. If a user
    clicks on the 'Edit' button I'd like the Select to be executed first,
    followed by Edit. So, if there is a details view associated with the
    GridView I'd like the details to show the content of the row being edited.

    Could someone please let me know what the proper procedure should be?

    Thanks,
    Dan
     
    dan, May 6, 2008
    #1
    1. Advertising

  2. dan

    David Wier Guest

    Check out this Tip from the Tips & Tricks section at ASPNet101.com:
    http://www.aspnet101.com/aspnet101/tips.aspx?id=274

    The first half of the tip does what you're needing, I believe.

    David Wier
    http://aspnet101.com
    http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
    bloated markup


    "dan" <> wrote in message
    news:u6Cj%...
    > Hi,
    >
    > I'd like to the row being edited to be also selected. That is, I don't
    > want one row to be selected while another row is being edited. If a user
    > clicks on the 'Edit' button I'd like the Select to be executed first,
    > followed by Edit. So, if there is a details view associated with the
    > GridView I'd like the details to show the content of the row being edited.
    >
    > Could someone please let me know what the proper procedure should be?
    >
    > Thanks,
    > Dan
    >
     
    David Wier, May 6, 2008
    #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. Radu
    Replies:
    0
    Views:
    662
  2. linkswanted
    Replies:
    1
    Views:
    949
  3. nomad

    Get Edited GridView row?

    nomad, Jul 22, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    495
    Munna
    Jul 23, 2008
  4. Mark B
    Replies:
    1
    Views:
    381
    Mark B
    Aug 27, 2008
  5. Andrew Jocelyn
    Replies:
    2
    Views:
    1,542
    Allen Chen [MSFT]
    Apr 27, 2009
Loading...

Share This Page