EditTemplate

Discussion in 'ASP .Net' started by simon, May 14, 2004.

  1. simon

    simon Guest

    When user clicks the edit button I would like that panel is inserted between
    the rows in datagrid.
    In this panel I have all the fields for some record, I update them and then
    rebind the dataGrid.

    In fact, now you have to write <EditItemTemplate> for each item, but I would
    like to write some kind of
    <EditRowTemplate> for entire row. Is it possible?

    Thank you,
    Simon
     
    simon, May 14, 2004
    #1
    1. Advertising

  2. simon wrote:
    > In fact, now you have to write <EditItemTemplate> for each item, but I would
    > like to write some kind of
    > <EditRowTemplate> for entire row. Is it possible?


    This is not possible with the built-in DataGrid control. Although you
    could probably achieve this functionality if you rolled your own server
    control...

    --

    Scott Mitchell

    http://www.4GuysFromRolla.com
    http://www.ASPFAQs.com
    http://www.ASPMessageboard.com

    * When you think ASP, think 4GuysFromRolla.com!
     
    Scott Mitchell [MVP], May 14, 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. Antonio D'Ottavio
    Replies:
    2
    Views:
    2,156
    =?Utf-8?B?RWx0b24gVw==?=
    Sep 26, 2005
  2. Gönen EREN

    Accesing Items in datalist edittemplate

    Gönen EREN, Aug 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    646
    Gönen EREN
    Aug 22, 2003
  3. Yan Wang

    DropdownList in EditTemplate

    Yan Wang, May 23, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,325
    Natty Gur
    May 24, 2004
  4. PawelR

    Error in EditTemplate

    PawelR, Mar 23, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    398
    Patrick Olurotimi Ige
    Mar 23, 2005
  5. Nathan Sokalski

    Controls inside EditTemplate cause editing to end

    Nathan Sokalski, Sep 7, 2005, in forum: ASP .Net
    Replies:
    10
    Views:
    597
    Nathan Sokalski
    Sep 9, 2005
Loading...

Share This Page