Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Requested record cannot be found by key
posted

I have following screen

I have unboundcheckboxfied named manually settle, there are two types of requests Transfer In and Transfer Out as shown in drop down
The drop down is used to filter data
The scenario is that when I check manually settle column of transfer in request and change the filter to fetch transfer out requests, I got the following error

Parents
No Data
Reply
  • 1700
    Offline posted

    Hello Muhammad,

    In the common causes of this exception the last suggestion states that the exception could occur by changing or filtering the grids data before all of the CRUD operations are completed, which in your case is caused by the SelectedIndexChanged event that is firing before completing all CRUD operations.

    What I can suggest you is setting AutoCRUD to false and then handling each row update manually inside the RowUpdating event. Below you can find a blog that describes how the CRUD operations could be handled manually inside the WebDataGrid:

    https://es.infragistics.com/community/blogs/b/developer_support/posts/webdatagrid-manual-crud

    Please let me know if you have any questions.

    Regards,
    Ivan Kitanov

Children
No Data