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

Textbox validate data when "Enter" is hit

1 Answer 106 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Sonia
Top achievements
Rank 1
Sonia asked on 08 Dec 2011, 09:08 PM
Hi!

I am looking for a Telerik text box control that does validation of the data when the "Enter" key is hit.  The validation should be similar to the Telerik data grid.  On the data grid the "Enter" key forces a validation without losing focus.  Is there a telerik textbox control available that I can take advantage of?  if you can show me an example that shows how to implement this.

For example:  If the textbox is bound to a number and user enters a letter and presses "Enter" then the border of the textbox get highlighted to red without losing focus.

Thanks,

Sonia

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 13 Dec 2011, 01:34 PM
Hi Sonia,
There are not such specialized control but you can customize Telerik's MaskedTextInput or even oridinary TextBox to work in similar way.

Kind regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Sonia
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or