State Maintenance in ASP.NET WebForms ProgressBar
23 Feb 20231 minute to read
Save the current model value to cookies for state maintenance. While refreshing the ProgressBar control, the page retains the
model value applied from the browser cookies. By default, EnablePersistence property is set to false in the ProgressBar.
Add the following code example to the corresponding ASPX page to render ProgressBar control.
<ej:ProgressBar ID="progressbar" runat="server" Value="70" Text="70 %" Height="20" Width="500" EnablePersistence="true">
</ej:ProgressBar>
The following screenshot displays the output for the above code.