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

How to set red border programmatically

1 Answer 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 27 Jan 2012, 08:35 AM
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

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 30 Jan 2012, 08:12 AM
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 >>

Tags
General Discussions
Asked by
Stephan
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or