This is a migrated thread and some comments may be shown as answers.

RadTextBox: how to control minimum number of characters.

1 Answer 708 Views
Button
This is a migrated thread and some comments may be shown as answers.
Cali
Top achievements
Rank 1
Cali asked on 22 Jan 2015, 06:18 PM
I am new and just started using telerik tools.  I have an application where I am using a radtextbox to input a phone number. I have used "maxLength" to control max number of characters.  Now, to just make sure the user enters the minimum number of characters, I am not sure what to do.  Was wondering if there was a minLength property within telerik or not. Thanks 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 27 Jan 2015, 11:37 AM
Hello Cali,

You can use a custom validator to achieve this requirement:
https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.customvalidator%28v=vs.110%29.aspx

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Button
Asked by
Cali
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or