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

RadText Box Maxlength

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mayur
Top achievements
Rank 1
Mayur asked on 20 May 2014, 09:41 AM
I have a Radtextbox in which i have given Maxlength property for eg:128 ,for English language its not allowing to type more than 128 characters which is fine,but when i select Japanese language and type its allow me to type more than 128 characters ,i dont want this to happen.



Please Suggest.


Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 23 May 2014, 06:22 AM
Hello Mayur,

Thank you for contacting Telerik Support.

I have tested locally although you are able to input more characters than the specified in the maxlength, after blurring the control, the max length will be applied correctly. This behavior could be replicated in Firefox and Chrome, but not in IE.

Please note that this is a browsers related issue and you could easily test the following input element that will reproduce the same behavior:
<input type="text" name="name" value=" " maxlength="3"/>

Nevertheless, you could try to handle the input's element onkeydown event and implement some custom logic for handling that browser limitation.


Regards,
Konstantin Dikov
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
General Discussions
Asked by
Mayur
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or