Hello.. how are you..
i have the next scene.. i have a grid nest into the other grid i am using the tools to export of telerik.. its a example:
public
void Export(String sFilepath, RadGridView grvExportExcel)
{
ExportToExcelML exporter = new ExportToExcelML(grvExportExcel);
exporter.SummariesExportOption =
SummariesOption.ExportAll;
exporter.RunExport(sFilepath);
}
but its doesn't work .. when i run this function its make the file succesfully but only export the primary grid and the template not...
i need export all information of the grid... if somebody can help me.. i will pleasure.. for your help.
public void Export(String sFilepath, GridViewTemplate grvtExportExcel)
{
RadGridView rgvGrid = new RadGridView();
foreach (GridViewDataColumn c in grvtExportExcel.Columns)
{
rgvGrid.Columns.Add(c);
}
foreach (GridViewDataRowInfo d in grvtExportExcel.Rows)
{
rgvGrid.Rows.AddNew(d);
}
ExportToExcelML exporter = new ExportToExcelML(rgvGrid);
exporter.SummariesExportOption = SummariesOption.ExportAll;
exporter.RunExport(sFilepath);
}
}
but its doesn't work neither....
regards...
thanks for your help.
Public
Sub SetGrid(ByVal grd As RadGridView)
Try
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
If Not dr Is Nothing Then
grd.MasterGridViewTemplate.LoadFrom(dr)
BestfitGrid(grd)
Else
Exit Sub
End If
Catch vbex As Exception
End Try
End Sub
would appriciate any direction in improving perfomance since I'm new to your software trying to justify purchase of Software
gridViewDateTimeColumn1.DataEditFormatString = "{0:D}"; |
gridViewDateTimeColumn1.DataType = typeof(System.DateTime); |
gridViewDateTimeColumn1.FieldAlias = "DateBegin"; |
gridViewDateTimeColumn1.FieldName = "DateBegin"; |
gridViewDateTimeColumn1.HeaderText = "DateBegin"; |
gridViewDateTimeColumn1.IsAutoGenerated = true; |
gridViewDateTimeColumn1.UniqueName = "DateBegin"; |
gridViewDateTimeColumn1.Width = 140; |