menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ProgressBar

    Show / Hide Table of Contents

    Class ProgressBar

    Represents the ProgressBar UI element.

    Inheritance
    System.Object
    CommonControl
    ProgressBar
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class ProgressBar : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    ProgressBar()

    Declaration
    public ProgressBar()

    Properties

    ClientSideOnChange

    Occurs when the progress value changed.

    Declaration
    public string ClientSideOnChange { get; set; }
    Property Value
    Type Description
    System.String

    The client side on change.

    ClientSideOnComplete

    Occurs when the process completes (at 100%).

    Declaration
    public string ClientSideOnComplete { get; set; }
    Property Value
    Type Description
    System.String

    The client side on complete.

    ClientSideOnCreate

    Occurs when the progressbar are created.

    Declaration
    public string ClientSideOnCreate { get; set; }
    Property Value
    Type Description
    System.String

    The client side on create.

    ClientSideOnDestroy

    Occurs when the progressbar are destroyed.

    Declaration
    public string ClientSideOnDestroy { get; set; }
    Property Value
    Type Description
    System.String

    The client side on destroy.

    ClientSideOnStart

    Occurs when the process starts (from 0%).

    Declaration
    public string ClientSideOnStart { get; set; }
    Property Value
    Type Description
    System.String

    The client side on start.

    CssClass

    Gets or sets the css class.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    The css class.

    Enabled

    Gets or sets the enabled.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    The enabled.

    EnablePersistence

    Gets or sets the enable persistence.

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enablePersistence]; otherwise, false

    EnableRTL

    Gets or sets the ProgressBar direction as right to left alignment.

    Declaration
    public bool EnableRTL { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [enableRTL]; otherwise, false

    Height

    Gets or sets the height of the ProgressBar.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The height.

    MaxValue

    Gets or sets the maximum value of the ProgressBar.

    Declaration
    public int MaxValue { get; set; }
    Property Value
    Type Description
    System.Int32

    The max value.

    MinValue

    Gets or sets the minimum value of the ProgressBar.

    Declaration
    public int MinValue { get; set; }
    Property Value
    Type Description
    System.Int32

    The min value.

    Model

    Gets or sets the ProgressBar properties to its model

    Declaration
    public ProgressBarProperties Model { get; set; }
    Property Value
    Type Description
    ProgressBarProperties

    Percentage

    Gets or sets the ProgressBar value in percentage. The value should be in between 0 to 100.

    Declaration
    public double Percentage { get; set; }
    Property Value
    Type Description
    System.Double

    The percentage.

    ShowRoundedCorner

    Gets or sets the ProgressBar with rounded corners.

    Declaration
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [showRoundedCorner]; otherwise, false

    Text

    Gets or sets the custom text for the ProgressBar.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The text.

    Value

    Gets or sets the ProgressBar value. The value should be in between min and max values.

    Declaration
    public int Value { get; set; }
    Property Value
    Type Description
    System.Int32

    The value.

    Width

    Gets or sets the width of the ProgressBar.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The width.

    Methods

    DependentScripts()

    Represents the dependent scripts for ProgressBar control.

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    This method returns the list of dependent files which is of string type

    GetDependentFiles()

    Get the dependent files for progressbar control

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    LoadViewState(Object)

    Restores view-state information from a previous page request.

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonControl.LoadViewState(Object)

    OnPreRender(EventArgs)

    Modifying server controls before sending them to the client.

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    PostBackEventHandler(String, Dictionary<String, Object>)

    Gets a value that indicates whether the page is being loaded in response to a postback.

    Declaration
    public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
    Parameters
    Type Name Description
    System.String EventName
    System.Collections.Generic.Dictionary<System.String, System.Object> args
    Overrides
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Render this instance

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Maintaining viewstate model values on post back

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> ClientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> ClientModel
    Overrides
    CommonControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    Change

    Occurs when the process Change.

    Declaration
    public event ProgressBar.ProgressBarEventHandler Change
    Event Type
    Type Description
    ProgressBar.ProgressBarEventHandler

    Complete

    Occurs when the process complete.

    Declaration
    public event ProgressBar.ProgressBarEventHandler Complete
    Event Type
    Type Description
    ProgressBar.ProgressBarEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved