Hello,
I want to make a csv export of my RadGrid (see below). My grid is in a RadAjaxPanel with RadAjaxLoadingPanel.
I first tried with the export button in the command area of the grid, but when I clicked on the button, I saw the loading panel but no popup appeared to make me choose the filename.
I tried with a personal export button to be sure to call the export function in the code behind (see below), but I have the same behaviour: no popup.
Someone could say me what I forgot ?
Thanks by advance
Regards
Damien
I want to make a csv export of my RadGrid (see below). My grid is in a RadAjaxPanel with RadAjaxLoadingPanel.
I first tried with the export button in the command area of the grid, but when I clicked on the button, I saw the loading panel but no popup appeared to make me choose the filename.
I tried with a personal export button to be sure to call the export function in the code behind (see below), but I have the same behaviour: no popup.
Someone could say me what I forgot ?
Thanks by advance
Regards
Damien
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" ShowGroupPanel="true" GridLines="Both" ItemStyle-CssClass="RowStyle" AlternatingItemStyle-CssClass="AlternatingRowStyle" HeaderStyle-CssClass="HeaderStyle" SelectedItemStyle-CssClass="SelectedRowStyle" ClientSettings-Selecting-AllowRowSelect="true" ClientSettings-Resizing-AllowColumnResize="true" ClientSettings-Resizing-AllowRowResize="true" ClientSettings-Scrolling-AllowScroll="true" ClientSettings-Scrolling-UseStaticHeaders="true" ClientSettings-Scrolling-FrozenColumnsCount="1" ClientSettings-Scrolling-SaveScrollPosition="true" ClientSettings-AllowColumnsReorder="true" MasterTableView-AllowMultiColumnSorting="true" ClientSettings-ClientEvents-OnGridCreated="GridCreated" SortingSettings-SortedBackColor="Beige" SortingSettings-EnableSkinSortStyles="false" SortingSettings-SortToolTip="tri"> <ClientSettings AllowDragToGroup="true" /> <GroupingSettings ShowUnGroupButton="true" /> <ExportSettings IgnorePaging="true" > <Csv ColumnDelimiter="Semicolon" EncloseDataWithQuotes="true" /> </ExportSettings> </telerik:RadGrid> <asp:Button ID="btnExportCVS" runat="server" Text="Export" CssClass="CTAButton" Enabled="true" OnClick="btnExportCVS_OnClick"></asp:Button>protected void btnExportCVS_OnClick(object sender, EventArgs e){ this.RadGrid1.MasterTableView.ExportToCSV();}