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
"UpdateRowBatch", "UpdateRowBatchEventHandler" giving error after using "WebDataGrid" instead of old "UltraWebGrid"
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..........

Below code is Old Infragistics - 2010 v2 - which is working fine using "UltraWebGrid"

 protected void Page_Init(object sender, EventArgs e)
        {
    grid_1.UpdateRowBatch += new Infragistics.WebUI.UltraWebGrid.UpdateRowBatchEventHandler(this.grid_UpdateRowBatch); 

But after upgrading, in new Infragistics - 2014 v2 - while using "WebDataGrid" instead of "UltraWebGrid", error is coming..........

WebDataGrid does not contain definition for "UpdateRowBatch" as well as "UdateRowBatchEventHandler"

protected void Page_Init(object sender, EventArgs e)
        {
   grid_1.UpdateRowBatch += new WebDataGrid.UpdateRowBatchEventHandler(this.grid_UpdateRowBatch);


Let me know what should I use for following:
1) UpdateRowBatch
2) UpdateRowBatchEventHandler
Parents
  • 20255
    Offline posted

    Hello,

    Thank you for your question.

    In order to give correct answer to your question, it will be good if you could share with me what exactly you want to achieve using this event UpdateRowBatch. Its direct equivalent is RowUpdating/RowUpdated though.

    Code snippet:

    protected void Page_Load(object sender, EventArgs e)
    {
        WebDataGrid1.RowUpdating += WebDataGrid1_RowUpdating;
    }
     
    protected void WebDataGrid1_RowUpdating(object sender, RowUpdatingEventArgs e)
    {
        throw new NotImplementedException();
    }
Reply Children
No Data