How to set red border programmatically

2 posts, 0 answers
  1. Stephan
    Stephan avatar
    12 posts
    Member since:
    Jun 2011

    Posted 27 Jan 2012 Link to this post

    Hi Folks,
    When I use entryfield validation by exception, controls paint a red border around itself on error.
    How can I set this border from outside ?
    (I.e. an outer "check function" gets called from somewhere and wants to set the red "error state" on an entryfield)
    Is there something like radTextBox1.SetErrorState ???

    Best regards
    Torsten
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 30 Jan 2012 Link to this post

    Hello,

    You can try performing an asynchronous validation (similar to this blog post). Will that approach fit into your requirements ? 

    All the best,
    Maya
    the Telerik team

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

Back to Top