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

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

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
  • BasicTools.xml
<%@ Page Title="" Language="C#" 
    AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="ZipLibrary_Examples_ReadDataFromZipFile_DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    <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 runat="server" Width="794px">
            <telerik:RadEditor RenderMode="Lightweight" Height="200px" Width="794px" EditModes="Html" 
                ID="RadEditor1" runat="server" ToolsFile="~/ZipLibrary/Examples/CompressStream/BasicTools.xml">
                <asp:Label runat="server" ID="Label1"></asp:Label></b>
            <telerik:RadButton RenderMode="Lightweight" 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 />
                <asp:Label runat="server" ID="Label2"></asp:Label></b>
    <qsf:ConfiguratorPanel ID="ConfiguratorPanel1" runat="server" Title="Demo Configurator">
                    <legend>Configure Compression Level</legend>
                    <qsf:DropDownList runat="server" ID="DropDownList1"></qsf:DropDownList>

Support & Learning Resources

Find Assistance