RadGridView IDataErrorInfo

4 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 28 Apr 2011 Link to this post

    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
  2. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 28 Apr 2011 Link to this post

    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
  3. DevCraft banner
  4. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 28 Apr 2011 Link to this post

    I am using Silvelight 4 with the latest Telerik build. The site you had suggested is for WPF.

    Please advice.
  5. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 28 Apr 2011 Link to this post

    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
Back to Top