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

Grid Conflict Values

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 12 Jan 2011, 09:26 AM
Hi,

I was wondering if there is a way to prevent duplicate (conflict) values when insert or edit records in a grid without the usual way of query in the database for already existence. What about the ConflictDetection="CompareAllValues" property in <asp:SqlDataSource> tag?

Thanks

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 17 Jan 2011, 10:35 AM
Hi George,

Note that the ConflictDetection property check if there is a conflict by verifying the old values for the record with the new one entered value, but not all the values in the database. Currently the usual way of query in the database for already existence is a possible approach, as well as defining the dataTable in the database to avoid duplicates.


All the best,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
George
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or