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

RadGridView IDataErrorInfo

3 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 28 Apr 2011, 10:39 AM
Hi,

I have implemented a hierarchical grid, i want to apply validation on the model class. onLoad of the form i am assigning the datasource which is an observable collection of my model class. now if the user edits the value in the grid of any row or adds a new row i want the validation to be fired and validate the data.

Please do let me know any other mechanism if IDataErrorInfo doesnot support . I am using the latest build of RadGridView (Q1, 2011).

now i need the following validation.
textbox should not be empty
textbox should have a maxLength of 100
and the value which user enters should be checked whether it exists in the collection whcih i already have. (no need of an async call).

Thanks

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 28 Apr 2011, 11:57 AM

Hello David,

Could you please check this help article which describes the various levels of validation that are supported by RadGridView. 



Regards,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ravi
Top achievements
Rank 1
answered on 28 Apr 2011, 03:32 PM
I am using Silvelight 4 with the latest Telerik build. The site you had suggested is for WPF.

Please advice.
0
Milan
Telerik team
answered on 28 Apr 2011, 04:21 PM
Hello David,

Here is the correct link. 

Excuse my mistake. 


Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Milan
Telerik team
Ravi
Top achievements
Rank 1
Share this question
or