Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
    • Overview
    • Installation & Deployement
    • EO.Web ToolTip
    • EO.Web Rating
    • EO.Web Slider & RangeSlider
    • EO.Web ListBox
    • EO.Web ComboBox
    • EO.Web Captcha
    • EO.Web ASPX To PDF
    • EO.Web Slide
    • EO.Web Flyout
    • EO.Web EditableLabel
    • EO.Web ImageZoom
    • EO.Web Floater
    • EO.Web Downloader
    • EO.Web ColorPicker
    • EO.Web HTML Editor
    • EO.Web File Explorer
    • EO.Web SpellChecker
    • EO.Web Grid
    • EO.Web MaskedEdit
    • EO.Web Splitter
    • EO.Web Menu
    • EO.Web Slide Menu
    • EO.Web TabStrip
    • EO.Web TreeView
    • EO.Web Calendar
    • EO.Web Callback
    • EO.Web MultiPage
    • EO.Web Dialog
    • EO.Web AJAXUploader
    • EO.Web ProgressBar - Free!
    • EO.Web ToolBar - Free!
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
Accessing/Validating Input

Accessing Input

Generally you can use the Text property to set the initial value for the MaskedEdit control or to retrieve user input.

In addition to the MaskedEdit.Text, you can also use MaskedEditSegment.Text to access each segment's Text individually. This can be convenient when you need to derive the final value from each component's value, for example, deriving a date value from year, month and day of the month values.

Validating Input

One can use a MaskedEditValidator to validate the input of a MaskedEdit control. When a MaskedEditValidator is associated with a MaskedEdit control, the validator verifies whether each segment contains valid input and if any of the segments contains invalid input, the validation fails.

Alternatively, you can also call isValid on the client side MaskeEdit object or access IsValid property on the server side to verify whether the input is valid.