New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Compress Stream

  • Show/Hide Border
  • Table Properties
  • Delete Table
  • Row
    • Insert Row Above
    • Insert Row Below
    • Delete Row
  • Column
    • Insert Column to the Left
    • Insert Column to the Right
    • Delete Column
  • Cell
    • Merge Cells Horizontally
    • Merge Cells Vertically
    • Split Cell Horizontally
    • Split Cell Vertically
    • Delete Cell
  • Cell Properties
  • Table Properties
  • Properties...
  • Image Map Editor
  • Properties...
  • OpenLink
  • Remove Link
  • Insert Select
  • Cut
  • Copy
  • Paste
  • Paste from Word
  • Paste Plain Text
  • Paste As Html
  • Paste Html
Uncompressed size: 1650


Compressed size: 0
  • Demo Configurator
Configure Compression Level
Stored

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

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • styles.css
  • BasicTools.xml
<%@ 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>

Support & Learning Resources

Find Assistance