Hi,
I am using WHDG. I am allowing end user to update the cell value on the WHDG.
I using Dataset for binding the WHDG. sorting, pagination etc functionality is working find on binded grid. Now When user modify any cell value and after navigate to another page of the grid,
WHDG fires Page_Load, Row_Updating and Row_Updated event, as soon as it complete the execution of 'Row_Updated' event I got following Error,
Error Message: Table doesn't have a primary key.
Error Source: Infragistics4.Web.v13.1
Error StackTrace: at Infragistics.Web.UI.Framework.Data.DataViewDataSourceAdapter.Update(Object dataItem, IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) at Infragistics.Web.UI.Framework.Data.DataSourceObjectView.Update(Object dataItem, IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) at Infragistics.Web.UI.GridControls.EditingCore.OnAction(String actionType, Object id, Object value, Object tag) at Infragistics.Web.UI.GridControls.GridBehavior.Infragistics.Web.UI.GridControls.IGridBehavior.OnAction(String actionType, Object id, Object value, Object tag) at Infragistics.Web.UI.GridControls.GridBot.LoadAdditionalClientState(Object state) at Infragistics.Web.UI.GridControls.ContainerGridBot.LoadAdditionalClientState(Object state) at Infragistics.Web.UI.Framework.RunBot.HandleRaisePostDataChangedEvent() at Infragistics.Web.UI.GridControls.GridBot.HandleRaisePostDataChangedEvent() at Infragistics.Web.UI.GridControls.ContainerGrid.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Can any one help me, how to resolve this issue? Is any configuration or code am I missing???
Thanks,
Yogesh Shah
Hello Yogesh,
I'm just checking if you have resolved your issue. If there is anything that I could help you with, please let me know.