RadMaskedTextBox with RadTextBox Error styling

3 posts, 0 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 24 Apr 2014 Link to this post

    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. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 24 Apr 2014 Link to this post

    Forgot to include the image
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kostadin
    Admin
    Kostadin avatar
    1708 posts

    Posted 29 Apr 2014 Link to this post

    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.

     
Back to Top