This is a migrated thread and some comments may be shown as answers.

[Solved] grid for FAQ

2 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CarlosCisneros
Top achievements
Rank 1
CarlosCisneros asked on 17 Aug 2009, 03:29 AM
Hi,

I'm trying to create something like what you have on http://www.telerik.com/community/forums.aspx,  I believe is a radgrid. What I am looking to do is a FAQ and I want to set on master table the question and on child table I want to put the answer for the question, at this point there is no problem achieving the solution, but now I want to expand item on selection.

how can i do this.

thanks in advanced.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 Aug 2009, 05:07 AM
Hi Carlos,

I guess you are trying to Expand the master table row on clicking. If so try the following code snippet.

CS:
 protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) 
    { 
        if (e.CommandName == "RowClick"
        { 
            e.Item.Expanded = true
        } 
    } 

Thanks
Shinu
0
CarlosCisneros
Top achievements
Rank 1
answered on 18 Aug 2009, 01:55 AM
thanks Shinu

I've solved my problem, i ended up using rad panel bar.

thanks for your help.
Tags
Grid
Asked by
CarlosCisneros
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
CarlosCisneros
Top achievements
Rank 1
Share this question
or