Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
Custom progress in action:
Elapsed time: Estimated time: Speed:
This demo showcases the two different rendering modes of Telerik's ASP.NET ProgressArea control: Classic and Lightweight.
There is also a Native render mode option inherited directly from RenderMode. As RadProgressArea does not have a specific HTML element, the Native render mode will have the same effect as the Classic one.
The default render mode of the control is Classic and you have the option to either explicitly set it to Lightweight or leverage the Auto mode to have the control choose the best rendering based on the user's browser.
Note: In order to provide optimal experience for your end users, we recommend that you use only one type of render mode for a control on a given page. For example, if you have two instances of RadProgressArea on the page, it will be best if both of them use the same render mode.
Note: The Material skin is available only for the modern Lightweight render mode. Change the skin or the mode to properly visualize the demonstrated control.
Notes on the statistics: The markup size is calculated automatically in the code-behind by rendering a simple RadProgressArea instance on a blank page.
* Lightweight rendering uses a global sprite for icons which is shared across all controls.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DefaultVB.aspx.vb" Inherits="ProgressArea.Examples.RenderModes.DefaultVB" %> <%@ 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> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <qsf:MessageBox ID="InformationBox1" Icon="Info" Type="Info" runat="server"> Press the button below to monitor the progress of a custom process with RadProgressArea </qsf:MessageBox> <div class="demo-container size-narrow"> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <telerik:RadButton RenderMode="Lightweight" ID="btnProcessing" runat="server" Text="Start Processing" OnClick="btnProcessing_Click"> </telerik:RadButton> <telerik:RadProgressManager ID="RadProgressManager1" runat="server" /> <telerik:RadProgressArea RenderMode="Lightweight" ID="RadProgressArea1" runat="server" Width="500px" /> </div> <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Title="Render mode comparison"> <Views> <qsf:View> <qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Title="Render mode" Size="Narrow"> <asp:RadioButtonList ID="rblRenderMode" runat="server" AutoPostBack="True" RepeatLayout="UnorderedList" CssClass="fb-group" OnSelectedIndexChanged="rblRenderMode_SelectedIndexChanged"> <asp:ListItem Value="Lightweight" Selected="True">Lightweight</asp:ListItem> <asp:ListItem Value="Classic">Classic</asp:ListItem> </asp:RadioButtonList> </qsf:ConfiguratorColumn> <qsf:ConfiguratorColumn ID="ConfiguratorColumn2" runat="server" Size="Wide" Title="Classic vs. Light rendering"> <table class="table" cellspacing="0"> <thead> <tr> <th></th> <th>Classic</th> <th>Lightweight</th> </tr> </thead> <tbody> <tr> <th>Markup Size</th> <td> <asp:Label ID="ClassicSize" runat="server"></asp:Label></td> <td> <asp:Label ID="LightweightSize" runat="server"></asp:Label></td> </tr> <tr> <th>CSS Size</th> <td>20.6 KB</td> <td>13.05 KB</td> </tr> <tr> <th>Image Sprite Size</th> <td>2.78 KB</td> <td>17.8 KB*</td> </tr> </tbody> </table> </qsf:ConfiguratorColumn> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>