Private
Sub rgvProgramacionEntregasCabecero_ChildViewExpanded(sender As Object, e As Telerik.WinControls.UI.ChildViewExpandedEventArgs) Handles rgvProgramacionEntregasCabecero.ChildViewExpanded
Try
'gvtProgramacionEntregasDetalle.DataSource = Obtener_DetalleViaje(rddlCentroDistribucion.SelectedValue, Today.AddDays(-30), _GrupoViaje)
Me.rgvProgramacionEntregasCabecero.Templates(0).DataSource = Obtener_DetalleViaje(rddlCentroDistribucion.SelectedValue, Today.AddDays(-30), _GrupoViaje)
End Using
Catch ex As Exception
RadMessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, RadMessageIcon.Error)
End Try
End Sub

EditRecurrenceDialog dialog = new EditRecurrenceDialog(appointment); dialog.Show(); this.tSQL = "EXEC dbo.GetDetailsForCodeType '" + strSelectedCode + "','" + strSelectedCodeType + "'";
DataTable dtMarketDetails = this.da.GetDataTable(this.tSQL);
this.dgMarketDetails.DataSource = dtMarketDetails;
As a test I setup another GridView and pre set the data source and that exports just fine.
Text----------DescriptionText----------DescriptionTextDescription----------TextDescriptionprivate void SearchTypeList_CreatingVisualListItem(object sender, CreatingVisualListItemEventArgs e){ e.VisualItem.BorderColor = SystemColors.Control; //e.VisualItem.Children[0].Children[1].Children[1].ShouldPaint = false; foreach(var child in e.VisualItem.Children) { if(child is StackLayoutElement) { foreach(var child1 in child.Children) { if(child1 is StackLayoutElement) { foreach(var child2 in child1.Children) { if(child2 is LinePrimitive) { child2.ShouldPaint = false; return; } } } } } }}