menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class Toolbar

    Inheritance
    System.Object
    CommonDataBoundControl
    Toolbar
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonDataBoundControl.PerformDataBinding(IEnumerable)
    CommonDataBoundControl.RaisePostBackEvent(String)
    CommonDataBoundControl.OnLoad(EventArgs)
    CommonDataBoundControl.OnPreRender(EventArgs)
    CommonDataBoundControl.RenderContents(HtmlTextWriter)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Toolbar : CommonDataBoundControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Toolbar()

    Declaration
    public Toolbar()

    Properties

    ClientSideOnClick

    Occurs after Toolbar control is clicked.

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

    The client side on click.

    ClientSideOnCreate

    Occurs after Toolbar control is created.

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

    The client side on create.

    ClientSideOnDestroy

    Occurs when the Toolbar is destroyed successfully.

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

    The client side on destroy.

    ClientSideOnItemHover

    Occurs after Toolbar control item is hovered.

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

    The client side on item hover.

    ClientSideOnItemLeave

    Occurs after mouse leave from Toolbar control item.

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

    The client side on item leave.

    ClientSideOnOverflowClose

    Occurs when the Toolbar popup is closed.

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

    The client side on overflowClose.

    ClientSideOnOverflowOpen

    Occurs when the Toolbar popup is opened.

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

    The client side on overflowOpen.

    CssClass

    Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.

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

    The CSS class.

    DataGroupField

    Gets or sets the data group field.

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

    The data group field.

    DataHtmlAttributeField

    Gets or sets the data HTML attributes field.

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

    The data HTML attributes field.

    DataIdField

    Gets or sets the data identifier field.

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

    The data identifier field.

    DataImageAttributeField

    Gets or sets the data image attributes field.

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

    The data image attributes field.

    DataImageUrlField

    Gets or sets the data image URL field.

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

    The data image URL field.

    DataManager

    Data Manager as Inner property, which help us to bind the data sources from data adaptors

    Declaration
    public DataSource DataManager { get; set; }
    Property Value
    Type Description
    DataSource

    DataSource

    Gets or sets the data source.

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    The datasource.

    DataSourceCachingMode

    Gets or sets the data source caching mode.

    Declaration
    public DataSourceCachingMode DataSourceCachingMode { get; set; }
    Property Value
    Type Description
    DataSourceCachingMode

    The data source caching mode.

    DataSpriteCssClassField

    Gets or sets the data sprite CSS field.

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

    The data sprite CSS field.

    DataTextField

    Gets or sets the data text field.

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

    The data text field.

    DataTooltipTextField

    Gets or sets the data tooltip text field.

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

    The data sprite CSS field.

    DisabledItemIndices

    Gets or sets the given disable items

    Declaration
    public List<int> DisabledItemIndices { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The disabled item index.

    EmptyDataText

    Gets or sets the EmptyDataText.

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

    The EmptyDataText.

    Enabled

    Gets or sets a value indicating whether the control is enabled.

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

    true if enabled; otherwise, false.

    EnabledItemIndices

    Gets or sets enable item index.

    Declaration
    public List<int> EnabledItemIndices { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    The enabled item index.

    EnableRTL

    Gets or sets a value indicating whether [enable RTL].

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

    true if [enable RTL]; otherwise, false.

    EnableSeparator

    Gets or sets a value indicating whether [EnableSeparator].

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

    true if [EnableSeparator]; otherwise, false.

    Fields

    Gets the toolbar fields.

    Declaration
    public ToolbarFields Fields { get; }
    Property Value
    Type Description
    ToolbarFields

    The toolbar fields.

    Height

    Gets or sets the height of the toolbar.

    Declaration
    public override Unit Height { get; set; }
    Property Value
    Type Description
    System.Web.UI.WebControls.Unit

    The height.

    Hide

    Gets or sets a value indicating whether [hide].

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

    true if [hide]; otherwise, false.

    IsResponsive

    Gets or sets a value indicating whether [IsResponsive].

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

    true if [IsResponsive]; otherwise, false.

    Items

    Gets the items.

    Declaration
    public List<ToolbarItem> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ToolbarItem>

    The items.

    Model

    Gets or sets the Toolbar properties to its Model

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

    Orientation

    Specifies the Toolbar orientation.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Orientation

    The orientation.

    Query

    Gets or sets the query.

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

    The query.

    ResponsiveType

    Specifies the Toolbar responsiveType.

    Declaration
    public ResponsiveType ResponsiveType { get; set; }
    Property Value
    Type Description
    ResponsiveType

    The responsiveType.

    ShowRoundedCorner

    Gets or sets a value indicating whether [show rounded corner].

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

    true if [show rounded corner]; otherwise, false.

    TooltipSettings

    Gets or sets the tooltip settings for RTE.

    Declaration
    public TooltipProperties TooltipSettings { get; set; }
    Property Value
    Type Description
    TooltipProperties

    The Tooltip settings.

    Width

    Gets or sets the Width of the toolbar.

    Declaration
    public override Unit Width { get; set; }
    Property Value
    Type Description
    System.Web.UI.WebControls.Unit

    The width.

    Methods

    CreateChildControls()

    Create the child controls

    Declaration
    protected override void CreateChildControls()

    DependentScripts()

    Represents the dependent scripts for Toolbar control.

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

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

    FetchData(IEnumerable)

    Fetching the data

    Declaration
    public override void FetchData(IEnumerable data)
    Parameters
    Type Name Description
    System.Collections.IEnumerable data
    Overrides
    CommonDataBoundControl.FetchData(IEnumerable)

    GetDependentFiles()

    Get the dependent files for Toolbar control

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonDataBoundControl.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
    CommonDataBoundControl.LoadViewState(Object)

    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
    CommonDataBoundControl.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
    CommonDataBoundControl.Render(HtmlTextWriter)

    SaveViewState()

    Saves any server control view-state changes that have occurred since the time the page was posted back to the server.

    Declaration
    protected override object SaveViewState()
    Returns
    Type Description
    System.Object

    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
    CommonDataBoundControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    ItemClick

    Occurs when [Item click].

    Declaration
    public event Toolbar.ToolbarEventHandler ItemClick
    Event Type
    Type Description
    Toolbar.ToolbarEventHandler

    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