ValidateItem is always false

1 posts, 0 answers
  1. CD
    CD avatar
    14 posts
    Member since:
    Mar 2011

    Posted 19 Jul 2011 Link to this post

    I am copying the example here:

    I am using the Northwind database and WCF RIA services.

    Whenever I save an edit,  I check MyRadDataForm.ValidateItem()  and it is always false. If I ignore that and call

    MyRadDomainDataSource.SubmitChanges() the edit is saved.

    private void MyRadDataForm_EditEnding(object sender, Telerik.Windows.Controls.Data.DataForm.EditEndingEventArgs e)
        if (MyRadDataForm.ValidateItem())// Why False??
            System.Diagnostics.Debug.WriteLine("Invalid Item");
Back to Top