Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
With RadSpreadStreamProcessing you can generate XLSX and CSV files with minimal memory consumption and excellent performance.
Note that the time for generating a large number of records will depend on the specific server load and capabilities.
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="Telerik.SpreadStreamProcessing.LargeDocumentExport.DefaultCS" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml'> <head runat="server"> <title>Telerik ASP.NET Example</title> <link href="styles.css" rel="stylesheet" /> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-containers"> <div class="demo-container"> <asp:Image ImageUrl="~/SpreadStreamProcessing/SampleData/large-document-export.png" ID="SampleDataImage" runat="server" /> </div> </div> <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Title="Demo Configurator"> <Views> <qsf:View> <fieldset> <legend>Exported file settings</legend> <asp:Label Text="Rows count:" AssociatedControlID="TextBox1" runat="server" /> <qsf:TextBox ID="TextBox1" runat="server" Text="5000"></qsf:TextBox> <asp:Label Text="File extension:" AssociatedControlID="ExtensionsDropDownList" runat="server" /> <qsf:DropDownList Size="Medium" runat="server" ID="ExtensionsDropDownList"> <Items> <telerik:DropDownListItem Value="xlsx" Text="Xlsx" /> <telerik:DropDownListItem Value="csv" Text="Csv" /> </Items> </qsf:DropDownList> <qsf:Button Text="Export" ID="Button1" OnClick="Button1_Click" runat="server" /> </fieldset> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>