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
PageIndexChangedEventHandler: give error while 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..........

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

 protected void Page_Init(object sender, EventArgs e)
        {
            
grid_1.PageIndexChanged += new Infragistics.WebUI.UltraWebGrid.PageIndexChangedEventHandler(this.grid_PageIndexChanged);

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

WebDataGrid does not contain definition for "PageIndexChangedEventHandler"

protected void Page_Init(object sender, EventArgs e)
        {
grid_1.PageIndexChanged += new WebDataGrid.PageIndexChangedEventHandler(this.grid_PageIndexChanged);


Let me know what should I use in order to make my old code to new code workable using "WebDataGrid":
1) PageIndexChangedEventHandler
Parents
  • 11095
    Offline posted

    Hello,

    Thank you for contacting Infragistics!

    You are trying to pass Infragistics.WebUI.UltraWebGrid.PageIndexChangedEventHandler to Infragistics.Web.UI.GridControls.WebDataGrid.PageIndexChanged event.

    Hope this helps.

Reply Children