- Online Barcode Generator
- How To
- Buy Now
By using KT.UI PerMaskedTextBox Input component, users can easily and quickly set and distinguish proper and improper user input by setting the MaskedTextBox property. Users can use the Mask property within C# ASP.NET application to specify the supportable format on entered texts.
How to Use C# Codes to Set Mask and DisplayMask Porperties
How to Use C# Codes to Set other Property
By using our reliable and excellent PerMaskedTextBox Input control, users can set and define the mask at run time in various ways, which can control the way that the mask can be used. Please see the brief introductions to following three properties.
Please check out following C# codes for this property.
PerMaskedTextBox1.ZeroPadNumericRanges = true;
How to Use C# Codes to Set Focus
When users are not editing the value in the NumericTextBox or the text box does not have focus, you can build and set different appearance for the masked text box.
Two properties' explanations on setting focus.
Please see following C# sample codes on setting focus.
PerMaskedTextBox1.PromptChar = "_";
How to Use C# Codes to Set MultiLine Mode
With support of PerMaskedTextBox Input control, users are allowed to use PerMaskedTextBox component to display the texts in text box in multiple lines. Please feel free to directly copy following sample C# codes to set multi-line mode.
PerMaskedTextBox1.TextMode = InputMode.MultiLine;
ASP.NET AJAX UI Controls