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

Dudas with Details View(Rad Grid)

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ruben
Top achievements
Rank 1
Ruben asked on 18 Dec 2008, 01:07 AM
Hi Telerik team.

In a grid I have a view detail.

When exported to excel does not export  detail view.

If I can export the detail table with the Grid?

Thank's
Ruben Herrera

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Dec 2008, 04:13 AM
Hi Ruben,

Try the following code snippet to export the Detail table as well.

CS:
protected void LinkButton1_Click(object sender, EventArgs e) 
    { 
        RadGrid1.ExportSettings.ExportOnlyData = true
        RadGrid1.ExportSettings.OpenInNewWindow = true
        RadGrid1.MasterTableView.HierarchyDefaultExpanded = true
        RadGrid1.MasterTableView.Rebind(); 
        RadGrid1.MasterTableView.ExportToWord(); 
    } 



Shinu
Tags
Grid
Asked by
Ruben
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or