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"
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
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.
Hi,
I tried using
grid_1.PageIndexChanged += new Infragistics.Web.UI.GridControls.
--- it shows 2 properties after dot i.e. "PageIndexChangedHandler and "PageIndexChangingHandler" --- Both are not working related to my functionality.
I also tried using
grid_1.PageIndexChanged += new Infragistics.Web.UI.GridControls.WebDataGrid. --After dot - it is not showing any properties at all
grid_1.PageIndexChanged += new WebDataGrid. -- After dot - it is not showing any properties
Please give answers after doing practically at your end and let me know after again seeing my 1st thread and this reply.........
Have you tried
1
grid_1.PageIndexChanged += this.grid_PageIndexChanged;
or
2
grid_1.PageIndexChanged += new Infragistics.Web.UI.GridControls.PageIndexChangedEventHandler(this.grid_PageIndexChanged);
?
I am still following up. Have you been able to resolve the issue?If you have any concerns or questions, please feel free to contact me, I will be glad to help you.Thank you for choosing Infragistics components!