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

Show the RowDetailsTemplate in the same row

3 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wassim Brinsi
Top achievements
Rank 1
Wassim Brinsi asked on 19 May 2010, 05:12 PM
Hello,
My customer want to show RowDetailsTemplate in the same row.
I mean when the user select a row i want to hide the row and show the rowdetailtemplate.
Can you help please

Wassim

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 21 May 2010, 05:36 PM
Hello Wassim Brinsi,

What you need to do in order to accomplish the desired result is to predefine the GridViewRowTemplate. Then you will be able to create connection between the Visibility Property of the row and that of the row details. Thus when one of them is visible, the other will be collapsed.
I am sending you a sample project so that you can see and test the proposed solution. Here, the RowDetailsTemplate contains only a button, but that is just for the example and you can set it to whatever you need.


Sincerely yours,
Maya
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Wassim Brinsi
Top achievements
Rank 1
answered on 01 Jun 2010, 08:50 AM
Thank you for reply
I tried to open the project but visual studio show me the following error : 

"Unable to read the project "SilverlightApplication9.csproj"
(path) the imported project (path) was not found. confirm that the path  in the <import> declaration is correct, and that the file exists on disk.

Can you please check if there is a problem in the example.

Thank you very much 

Wassim
0
Maya
Telerik team
answered on 01 Jun 2010, 11:03 AM
Hi Wassim Brinsi,

There is no problem with the project on my side.  However, just in case, I am sending you the most important files so that you are able to apply the proposed solution for the RowDetailsTemplate in the same row.
I hope that helps.

Kind regards,
Maya
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Wassim Brinsi
Top achievements
Rank 1
Answers by
Maya
Telerik team
Wassim Brinsi
Top achievements
Rank 1
Share this question
or