Results 1 to 3 of 3

Thread: Expandable columns in Gridview control

  1. #1

    Thread Starter
    Addicted Member silentthread's Avatar
    Join Date
    Jun 2006
    Location
    Miami, Florida
    Posts
    143

    Expandable columns in Gridview control

    Hi,

    I'm currently pulling a table from a sql database and binding it to a Gridview (asp.net 2.0), and I wanted to know if I can do the following with the Gridview....

    "EmptyColumnWithPlusMinusSign" "Name"
    + Bubba
    hidden row that when you click on the plus sign, it expand and shows
    data about Bubba record.

    continue on with the next rows.......

    Basically, I want to bind the data, and their will be a column that will contain a plus/minus button and when you expand it, it will show details that pertain to that row. Each row that will be bound to the GridView, will have a hidden details row below it that is expandable.

    I can do this with Javascript and Response.Write, but I'm looking to start taking advanrtage of controls that are supplied to me.
    Watch media as you download it! Excellent tool!
    FREE CUBA!
    MyBlog
    If you feel my post has helped, please rate it.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Expandable columns in Gridview control

    You'll find plenty of examples, do a search for hierarchical gridview. That's what you're looking for.

  3. #3

    Thread Starter
    Addicted Member silentthread's Avatar
    Join Date
    Jun 2006
    Location
    Miami, Florida
    Posts
    143

    Re: Expandable columns in Gridview control

    Quote Originally Posted by mendhak
    You'll find plenty of examples, do a search for hierarchical gridview. That's what you're looking for.

    Thanks buddy!
    Watch media as you download it! Excellent tool!
    FREE CUBA!
    MyBlog
    If you feel my post has helped, please rate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width