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
55
[MissingRecordException]: Requested record cannot be found by key
posted

Greetings!

So it is my Problem: Delete records in the WebDataGrid. The WebDataGrid has a virtual scrolling.

I try to change your code in an example. As I need such logic of  remove of a record from the WebDataGrid.

But I have an exception "[MissingRecordException]: Requested record cannot be found by key". I send you your code changed by me, you can see as it works.

And I need the decision of this problem. As it is logical to delete records thus if it is a lot of records in the WebDataGrid.

Exception is by virtual scrolling!!!

Best regards!

WebDataGrid_DeleteRowServer.zip
Parents
No Data
Reply
  • 342
    Suggested Answer
    Offline posted

    Nevermind, in my research I found the solution rfom another user:

     

    "I set <ig:EditingCore AutoCRUD="False"> in <Behavious> and <ig:WebDataGrid EnableDataViewState="True" EnableViewState="True">.  It works fine.  I think maybe Infragistics has already fixed the bug because I downloaded the controls on 1/27/2011."

     

    Hope this helps someone else in need. :)

     

    klp0

Children