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

RadMaskedTextBox with RadTextBox Error styling

2 Answers 123 Views
Input
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 24 Apr 2014, 07:31 PM
We have a RadMaskedTextbox that we use to populate a telephone number and from the image you can see the styling of the error message.  What we would really like is to format the error message to be similar to the error styling found with a RadTextBox (InputType="Email").  Is this possible? 

We have attempted to enter the phone number into a RadTextBox with InputType="Tel" but we lose the masked aspect of it and certainly doesn't look like a phone number.  We would also like to apply the same error look and feel to RadDatePicker.  Tried setting the InputType="Date" and it doesn't format the value or it doesn't pop-up the calendar item.

Is it possible to use the HTML5 "required" with any of the RadInput?

Any suggestions. 

2 Answers, 1 is accepted

Sort by
0
Kurt Kluth
Top achievements
Rank 1
answered on 24 Apr 2014, 07:33 PM
Forgot to include the image
0
Kostadin
Telerik team
answered on 29 Apr 2014, 01:08 PM
Hello Kurt ,

The format of the error message of the RadTextBox is handle by the browser and could not be modified or make it identical with the rest of the controls because it is different in the different browsers. Nevertheless you could hook OnError client event of each control and make the unique format for all of them. You could use a RadToolTip control to display an error message.

Regards,
Kostadin
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
Input
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Kurt Kluth
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or