With KT.UI PerMaskedTextBox Input control support, users can get the easy to use control to indentify and distinguish proper and improper input by setting the Mask property. Users can use the Mask property within ASP.NET application to specify the supportable format of user input, for instance, telephone number format, currency font and many more.
In this tutorial article, users can get the complete introduction of what the Mask property is and how to set its attributes according to actual requirements. Mask and DisplayMask for ASP.NET AJAX
In this section, we focus on what the Mask and DisplayMask property are of KT.UI SDK for ASP.NET AJAX as well as the sample ASP.NET codes for setting these two properties.
Please see following ASPX codes and sample screenshot.
ASP.NET Codes for Setting other Property
As a matter of fact, users can set and define the Mask at run time in various ways, which can control the way that the Mask can be used. And generally speaking, there are three properties that can affect the way the Mask works.
Please check out following ASP.NET codes for these properties within web PerInput MaskedNumericTextBox page.
ASP.NET Codes to Set Focus of MaskedTextBox Input
When users are not editing the value in the MaskedTextBox or the text box does not have focus, you can build and set different appearance for the Mask text box. Please do as the sample ASP.NET codes show.
ASP.NET Codes to Set MultiLine Mode
Opposite to single-line mode, users are enabled to use PerMaskedTextBox component to display the texts in text box in multiple lines like the sample image below.
Please read following sample ASP.NTE codes, for more C# codes on setting multi-line mode of MaskedTextBox Input control, please have a simple click.
Example image for MultiLine mode of MaskedTextBox: |
ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control ASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control ASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control ASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control OverviewGetting StartedTextBoxNumericTextBoxMaskedTextBox DateInputInput ManagerClient Prpgramming Input EventServer Prpgramming Input EventASP.NET AJAX ListBox UI Control ASP.NET AJAX ListView UI Control ASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |