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
850
Disable Autocrud
posted

Hi I am using Infragistics4 v11.2.

I am using a WebDataGrid, in which I have a couple of editable columns and a column with checkboxes. Rest of the columns are read only. For this I have used ObjectDatasource with paging and sorting enabled. 

My requirement is that , when a button is clicked, on the server side button click event, I need to save the data entered in those two columns for all rows with the checkbox checked. 

The issue I am facing is that when I edit the cells corresponding to those columns, It is trying calculate the updates and fire the update event. I am getting an exception "NotImplementedException: The method or operation is not implemented ". 

Can anyone please tell me how to disable this auto CRUD. I dont want any update events to be fired. I tried  <ig:EditingCore AutoCRUD="False"> , but no use.

Also, to fix the exception I tried defining a dummy update function. But it did not help.

 

Parents
No Data
Reply
  • 850
    posted

    Further, to the above description I am pasting the stack trace which I get:

    NotImplementedException: The method or operation is not implemented.]
       Infragistics.Web.UI.Framework.Data.DataRecordPropertDescriptor.SetValue(Object component, Object value) +54
       Infragistics.Web.UI.Framework.Data.<>c__DisplayClass1.<Update>b__0(Int32 affectedRecords, Exception exception) +384
       System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +143
       Infragistics.Web.UI.Framework.Data.DataSourceControlAdapter.Update(Object dataItem, IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +397
       Infragistics.Web.UI.Framework.Data.DataSourceObjectView.Update(Object dataItem, IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +62
       Infragistics.Web.UI.GridControls.EditingCore.OnAction(String actionType, Object id, Object value, Object tag) +4803
       Infragistics.Web.UI.GridControls.GridBehavior.Infragistics.Web.UI.GridControls.IGridBehavior.OnAction(String actionType, Object id, Object value, Object tag) +48
       Infragistics.Web.UI.GridControls.GridBot.LoadAdditionalClientState(Object state) +1319
       Infragistics.Web.UI.Framework.RunBot.HandleRaisePostDataChangedEvent() +204
       Infragistics.Web.UI.GridControls.GridBot.HandleRaisePostDataChangedEvent() +73
       Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.RaisePostDataChangedEvent() +37
       System.Web.UI.Page.RaiseChangedEvents() +134
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5201

Children