SpreadStreamProcessing - Large Document Export

Demo Configurator

Exported file settings
Xlsx
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Title="" Language="VB"  AutoEventWireup="false" CodeFile="DefaultVB.aspx.vb" Inherits="SpreadStreamProcessing_Large_Document_Export_DefaultVB" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<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>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?