Add row under selectedindex row of datagrid

Discussion in 'ASP .Net' started by ujjc001@gmail.com, Dec 15, 2004.

  1. Guest

    Hello all-
    I would like to find a way to add a row containing data, buttons or
    whatever else I would like, to a datagrid and display it for whichever
    row is selected. Similar to
    http://www.denisbauer.com/ASPNETControls/HierarGridDemo.aspx
    I would love to easily be able to add this type of functionality.

    I am thinking of the following pseudo code-
    On button (show/hide) click, set a variable somehow connected to the
    selected row, on postback when the list is binding if this value is
    true (show) then probably make a div display = inline, if false (hide)
    div display = none.
    Where would I add the div in the html to run with each item template?
    Please help as this is boggling my mind :)
    Jeff C.
     
    , Dec 15, 2004
    #1
    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. =?Utf-8?B?U3VyZXNo?=
    Replies:
    1
    Views:
    475
    Saravana
    Nov 22, 2004
  2. Replies:
    0
    Views:
    368
  3. onearth
    Replies:
    26
    Views:
    5,264
    Edwin Knoppert
    Nov 25, 2005
  4. Jay Pondy
    Replies:
    1
    Views:
    6,915
    Christopher Reed
    Mar 3, 2006
  5. Want to add row under selected row of gridview

    , Feb 16, 2007, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    317
Loading...

Share This Page