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
1620
RowDeletedEventArgs: does not work giving error when upgrading from UltraWebGrid to WebDataGrid........
posted

I am converting Infragistics 2010 v2 CLR3.5 to Infragistics 2014 v2 using 4.5 CLR using Visual Studio 2013 Professional Update 4. I am getting following error while building the project. Please reply immediately..........

Error 236 Argument 1: cannot convert from 'Infragistics.Web.UI.GridControls.RowDeletedEventArgs' to 'Infragistics.Web.UI.GridControls.RowEventArgs'

Below error is there while fixing the code:

private void grid_DeleteRowBatch(object sender, Infragistics.Web.UI.GridControls.RowDeletedEventArgs e)
        {
            StoreGridChanges(e);
        }
Parents
  • 16310
    Offline posted

    Hi,

    It seems like StoreGridChanges(e); accepts arguments of type 'Infragistics.Web.UI.GridControls.RowEventArgs', while e is of type Infragistics.Web.UI.GridControls.RowDeletedEventArgs 

    I suggest that you modify your StoreGridChanges method to something similar:

        public void StoreGridChanges(Infragistics.Web.UI.GridControls.RowDeletedEventArgs e)
        {
       
        }

Reply Children
No Data