Show the RowDetailsTemplate in the same row

4 posts, 0 answers
  1. Wassim Brinsi
    Wassim Brinsi avatar
    13 posts
    Member since:
    Dec 2009

    Posted 19 May 2010 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 21 May 2010 Link to this post

    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.
  3. DevCraft banner
  4. Wassim Brinsi
    Wassim Brinsi avatar
    13 posts
    Member since:
    Dec 2009

    Posted 01 Jun 2010 Link to this post

    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
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 01 Jun 2010 Link to this post

    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.
Back to Top