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

Exception In RowEditEnded

1 Answer 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
lin
Top achievements
Rank 1
lin asked on 22 Mar 2010, 08:30 AM
I Upgrade my RadGridView to 2010 Q1.
When I add a row  with BeginInsert(), and in AddingNewDataItem event, I write 'e.NewObject  =new UserOrder();'. In RowEditEnded event, I submit the newdata to WCF. When WCF throw exception, newdata is not dealed in wcf, So, I want GridView to hold newdata, and the new row is still in edit mode. But in 2010Q1, GridView hide the new row, clear newdata, and display:Click here to add new item.

Then I want to validate the data before submit to WCF. In RowValidating event, I validate some data with WCF, but the WCF method is async, so in RowValidating event, it cant confirm the data is valid or invalid.

how can I do?

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 23 Mar 2010, 04:35 PM
Hi lin,

Unfortunately current version of RadGridView does not support async validation for SL 3. We are doing our best to introduce such validation via (INotifyDataErrorInfo interface) for the official SL 4 version, because this event is not available for SL3. The official SL4 version will be available probably a week after official SL4 release from Microsoft.

All the best,
Nedyalko Nikolov
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
lin
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or