Example: Get parent row RadGridView Telerik
Dim oParentRow As GridViewDataRowInfo = grd.CurrentRow.ViewInfo.ParentRow
Telerik > RadGridView
ExportToExcelML method exports an image of an element to Excel file
ExportHierarchy property set if child rows should be exported
Example:
ExportToExcelML excelExporter =
new
ExportToExcelML(radGridView);
excelExporter.ExportHierarchy =
true
;
excelExporter.RunExport(filePath);
Because of UI virtualization in RadGridView, cell elements are created only for currently visible cells. To prevent applying the formatting to other columns' cell elements all customization should be reset for the rest of the cell elements. Example: Change Forecolor in CellFormating Events |
RadTimePicker1.SelectedDate = DateTime.ParseExact("12:00", RadTimePicker1.TimeView.TimeFormat, null); // set default time RadTimePicker1.TimeView.StartTime = new TimeSpan(8, 60, 0); //start time RadTimePicker1.TimeView.EndTime = new TimeSpan(17,60, 0); // end time |