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

Exporting master detail

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 09 Feb 2012, 11:18 AM
Hello telerik,
I've got a Master Detail GridView that on the expand button shows the child element using a behaviour,
I wish when I click the export button to export all the columns the grid

My object is of this kind

public class DummyObj

  {

      public int ID { get; set; }

      public int Col1 { get; set; }

      public int Col2 { get; set; }

      public int Col3 { get; set; }

      public int Col4 { get; set; }

      public int Col5 { get; set; }

 

  }

  The master has ID and Col1 and the Hierarchical Col2,3,4,5 ... the viewmodel binds the whole item to the master,  when I export (for now) I got ID Col1... How can I access by codebehind to the HierarchicalChildDataTemplate and enumerate througth the columns?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 09 Feb 2012, 12:54 PM
Hi,

 Please take a look at this forum post about exporting hierarchal grid.

Greetings,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Michele
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Share this question
or