menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class MaskEdit

    Represents the MaskEdit UI element.

    Inheritance
    System.Object
    CommonControl
    MaskEdit
    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 MaskEdit : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    MaskEdit()

    Declaration
    public MaskEdit()

    Properties

    ClientSideOnChange

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

    ClientSideOnCreate

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

    ClientSideOnDestroy

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

    ClientSideOnFocusIn

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

    ClientSideOnFocusOut

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

    ClientSideOnKeyDown

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

    ClientSideOnKeyPress

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

    ClientSideOnKeyUp

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

    ClientSideOnMouseOut

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

    ClientSideOnMouseOver

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

    CssClass

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

    CustomCharacter

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

    Enabled

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

    EnablePersistence

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

    Height

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

    HidePromptOnLeave

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

    HtmlAttributes

    Allow to add the Html Attributes to MaskEdit control

    Declaration
    public IDictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    InputMode

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    public InputMode InputMode { get; set; }
    Property Value
    Type Description
    InputMode

    Locale

    Specifies the locale of the Editor

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

    MaskFormat

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

    Model

    Declaration
    [JsonIgnore]
    public MaskEditProperties Model { get; set; }
    Property Value
    Type Description
    MaskEditProperties

    Name

    Specifies the Name of the MaskEdit

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

    ReadOnly

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

    ShowError

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

    ShowPromptChar

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

    ShowRoundedCorner

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

    TextAlign

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    public TextAlign TextAlign { get; set; }
    Property Value
    Type Description
    TextAlign

    ValidationMessage

    Declaration
    public List<KeyValue> ValidationMessage { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<KeyValue>

    ValidationMsg

    Declaration
    [JsonProperty("validationMessage")]
    public Dictionary<string, object> ValidationMsg { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    ValidationRule

    Declaration
    public List<KeyValue> ValidationRule { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<KeyValue>

    ValidationRules

    Declaration
    [JsonProperty("validationRules")]
    public Dictionary<string, object> ValidationRules { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    Value

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

    WatermarkText

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

    Width

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

    Methods

    DependentScripts()

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

    GetDependentFiles()

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

    LoadViewState(Object)

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

    OnPreRender(EventArgs)

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

    PostBackEventHandler(String, Dictionary<String, Object>)

    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()

    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>)

    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

    FocusOut

    Declaration
    public event MaskEdit.MaskEditFocusOutEventHandler FocusOut
    Event Type
    Type Description
    MaskEdit.MaskEditFocusOutEventHandler

    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