<asp:ImageButton ID="ImageButtonChinese" runat="server" ImageUrl="~/images/flags/chinese-flag.gif" />
<telerik:RadToolTip ID="RadToolTipChinese" runat="server" Animation="Fade" TargetControlID="ImageButtonChinese" IsClientID="true" Text="Click flag for Mandarin site" Position="TopRight" > </telerik:RadToolTip>protected void btnCalender_Click(object sender, EventArgs e){ RadToolBarItem textItem = RadToolBar1.FindItemByText("Button1"); ImageButton btnCalender = (ImageButton)textItem.FindControl("btnCalender"); if (RadGrid1.Visible == true) { //lblTestlabel.Visible = false; RadGrid1.Visible = false; RadScheduler1.Visible = true; LeftPane.Collapsed = false; btnCalender.ImageUrl = "~/images/Picture5.png"; } else { RadGrid1.Visible = true; // lblTestlabel.Visible = true; RadScheduler1.Visible = false; LeftPane.Collapsed = false; btnCalender.ImageUrl = "~/images/CalenderView.png"; } }<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateHierarchy="True" GridLines="None" Height="744px" ondetailtabledatabind="RadGrid1_DetailTableDataBind1" OnItemCommand="RadGrid1_ItemCommand" OnItemCreated="RadGrid1_ItemCreated" onneeddatasource="RadGrid1_NeedDataSource1" PageSize="10" Skin="Forest" Visible="False" Width="100%" AllowSorting="True"> <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" /> <ItemStyle HorizontalAlign="Center" /> <MasterTableView> <CommandItemSettings ExportToPdfText="Export to Pdf" /> <PagerStyle AlwaysVisible="True" /> </MasterTableView> <HeaderStyle HorizontalAlign="Center" /> <AlternatingItemStyle HorizontalAlign="Center" /> </telerik:RadGrid>grd.MasterTableView.ExportToExcel();
grd.Columns[0].Visible =
true;
e.Row.Cells[0].Attributes.Add(
"visible", "false");
e.Row.Cells.RemoveAt(0);
However i was unsucessfull .. can you pls suggest a wasy so that the column is not exported and there is no blank column in the export
grd.ExportSettings.IgnorePaging =
true;
grd.ExportSettings.OpenInNewWindow =
true;
grd.ExportSettings.Excel.Format = Telerik.Web.UI.
GridExcelExportFormat.Html;
grd.ExportSettings.ExportOnlyData =
true;
Hi,
I'm working on my first project which uses Telerik controls. It is an older version. For example, the DLL is RadGrid.Net2.dll and the version is 5.0.1.0
How can I find documentation and videos etc for that version of the control? There is no indication on the support site which version it applies to (I can only assume that it is the current version).
Cheers
David