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

Radwatertextbox validation

2 Answers 751 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Babitha
Top achievements
Rank 1
Babitha asked on 31 May 2018, 10:55 AM

Hi,

I need to know if there's any way to validate empty radwatermark text box when the there's an empty string in the textbox. If the radwatermarktextbox is empty I need to get the red border and show a display that textbox is empty before adding the entries of these text box to gridview. 

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Jun 2018, 12:34 PM
Hello Bindiya,

The control provides predefined validation error template for each of our themes, so you would only need to implement the data validation itself. I have prepared and attached project demonstrating sample solution using the IDataErrorInfo interface.
 
I have created a sample project to demonstrate this approach. The project is attached to this reply.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Babitha
Top achievements
Rank 1
answered on 05 Jun 2018, 08:31 AM
Worked like a charm. Thank you!
Tags
General Discussions
Asked by
Babitha
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Babitha
Top achievements
Rank 1
Share this question
or