DataGrid Edit Mode

Discussion in 'ASP .Net Web Controls' started by walterd, Aug 12, 2004.

  1. walterd

    walterd Guest

    Hi

    How can I programmatically switch a DataGrid into Edit Mode?
    I have a datagrid with no Edit / Delete / Update command buttons, only a
    HyperLink in one cell.
    I want the HyperLink to be activated when the page loads.

    Can someone PLEASE tell me how I can achieve this?
     
    walterd, Aug 12, 2004
    #1
    1. Advertising

  2. walterd

    Scott G. Guest

    In the postback event handler; set the DataGrid EditItemIndex to the row that you want to be in "edit mode".

    Scott
    "walterd" <> wrote in message news:...
    Hi

    How can I programmatically switch a DataGrid into Edit Mode?
    I have a datagrid with no Edit / Delete / Update command buttons, only a
    HyperLink in one cell.
    I want the HyperLink to be activated when the page loads.

    Can someone PLEASE tell me how I can achieve this?
     
    Scott G., Aug 16, 2004
    #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. Schultz
    Replies:
    3
    Views:
    570
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  2. John J Lee
    Replies:
    3
    Views:
    492
    bruno at modulix
    Dec 1, 2005
  3. Frank Kurka
    Replies:
    8
    Views:
    312
  4. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    405
    Jaime Stuardo
    Apr 7, 2006
  5. jobs at webdos
    Replies:
    0
    Views:
    478
    jobs at webdos
    Oct 9, 2006
Loading...

Share This Page