All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
With RadZibLibrary you can easily compress and decompress streams with the preferred compression level. Telerik’s ZIP Framework for ASP.NET AJAX provides a class that are designed to compress and decompress stream - CompressedStream. With the stream compression functionality you can compress uploaded files into your database and decrease the saved data size. When the file is needed, you can decompress it and restore its original state
Review the following topic from the online documentation for more details:
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.ZipLibraryVB.ReadDataFromZipFile.DefaultVB" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <!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" type="text/css" /> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-container size-wide"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="794px"> <telerik:RadEditor RenderMode="Lightweight" Height="200px" Width="794px" EditModes="Html" ID="RadEditor1" runat="server" ToolsFile="~/ZipLibrary/Examples/CompressStream/BasicTools.xml"> </telerik:RadEditor> <b> <asp:Label runat="server" ID="Label1"></asp:Label></b> <telerik:RadButton RenderMode="Lightweight" ID="RadButton1" runat="server" Text="Compress" OnClick="Button1_Click"></telerik:RadButton> <br /> <br /> <asp:TextBox runat="server" Width="794px" Height="200px" TextMode="MultiLine" ID="TextBox2"></asp:TextBox><br /> <b> <asp:Label runat="server" ID="Label2"></asp:Label></b> </telerik:RadAjaxPanel> </div> <qsf:ConfiguratorPanel ID="ConfiguratorPanel1" runat="server" Title="Demo Configurator"> <Views> <qsf:View> <legend>Configure Compression Level</legend> <qsf:DropDownList runat="server" ID="DropDownList1"></qsf:DropDownList> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>