Hi i am using infragistics for the first time.. I have this issue in updating record in cell.. It give the error "Requested record cannot be found by key in Webdatagrid"
Following is the code
<ig:WebDataGrid ID="MeterReadingDataGrid" runat="server" Height="205px" Width="794px" style="margin-bottom: 11px" onrowadding="WebDataGrid1_RowAdding" DataKeyFields="MachineID" onrowupdated="MeterReadingDataGrid_RowUpdated" onrowupdating="MeterReadingDataGrid_RowUpdating" > <Behaviors> <ig:ColumnMoving> </ig:ColumnMoving> <ig:ColumnResizing> </ig:ColumnResizing> <ig:Selection CellClickAction="Row" RowSelectType="Single"> </ig:Selection> <ig:RowSelectors> </ig:RowSelectors> <ig:Activation> </ig:Activation> <ig:EditingCore AutoCRUD="false"> <Behaviors> <ig:CellEditing> <EditModeActions MouseClick="Single" /> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="MachineID" ReadOnly="true" /> </ColumnSettings> </ig:CellEditing> <ig:RowAdding> </ig:RowAdding> </Behaviors>
</ig:EditingCore> </Behaviors>
</ig:WebDataGrid>
can anyone help with this issue
Thank You
Hello Hashan,
Thank you for posting in the community.
Please refer to the following thread for detailed information regarding the causes and possible solutions of the "Requested record cannot be found by key" exception:
http://www.infragistics.com/community/forums/t/83641.aspx
Feel free to contact me if you have any questions.
Please do not hesitate to contact me if you have any questions regarding this matter.