Hi,
In my project, I need to do somethings from server side when value of a cell has been changed.
So what is the event I should use for this situation? I could not find event like CellValueChanged in DataGridView from Microsoft.
Thanks
I've used UpdateCell() function for this situation. But I got a problem.
When i set LoadOnDemand=Xml, An Error has occured when I change value of cell
[NullReferenceException: Object reference not set to an instance of an object.] Infragistics.WebUI.UltraWebGrid.UltraWebGrid.RaiseCallbackEventHandler(String eventArgument) +9605 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection values) +1285 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +693 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743Could you help me on this issue?Thanks
[NullReferenceException: Object reference not set to an instance of an object.]
Infragistics.WebUI.UltraWebGrid.UltraWebGrid.RaiseCallbackEventHandler(String eventArgument) +9605
Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection
values) +1285
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +693
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint
) +1743Could you help me on this issue?Thanks
Hello,
I would suggest check whether the browser property of the grid is set to XML (Browser=XML).
When you use Load on Demand you need also to handle InitializeDataSource event in order to provide data source.
More information how to setup the grid to use Load on Demand you can reference the link below:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/WebGrid_Using_XML_Load_On_Demand.html
In order to use UpdateCell, UpdateRow events you need to use Load on Demand settings of the grid.