loading gridview in edit mode with a blank row at top of data source?

Discussion in 'ASP .Net' started by jobs at webdos, Oct 12, 2006.

  1. Loading gridview in edit mode with a blank row at top of data source?

    I'd like to have a button that when selected will rebind my gridview to
    a blank row + the original datasource in edit mode on that first blank
    row. Is this possible using vb.net codebehind?

    Thanks.
    jobs at webdos, Oct 12, 2006
    #1
    1. Advertising

  2. some clues I have found:

    GridViewRow newRow = GridViewx.CreateRow(0, 0, 1, 2)
    GridViewx.DataBind()
    set gridviewx.EditIndex to the NewEditIndex of the
    GridViewEditEventArgs

    Not working and not sure or how????
    jobs at webdos, Oct 12, 2006
    #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. John A Grandy

    config GridView so row shows in edit mode

    John A Grandy, Feb 17, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    3,888
    Andrew Robinson
    Feb 17, 2006
  2. =?Utf-8?B?R2VyaGFyZA==?=

    gridview row programatically set to edit mode

    =?Utf-8?B?R2VyaGFyZA==?=, Sep 29, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    14,844
    =?Utf-8?B?R2VyaGFyZA==?=
    Sep 29, 2006
  3. jobs

    GRIDVIEW BLANK ROW ON TOP

    jobs, Jan 26, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    465
  4. rodchar

    gridview edit row to top

    rodchar, Feb 21, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    353
    rodchar
    Feb 21, 2008
  5. 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:
    392
    Jaime Stuardo
    Apr 7, 2006
Loading...

Share This Page