Hi,
Currently we are using licensed 'Infragistics ASPnet v10.3 professional' in our applications.Now it's our requirement to upgrade the v10.3 to newer version 2014 (ASPnet).
Like to know, what is the equivalent controls & events in newer version for the below v10.3 ASPnet controls?
1. Infragistics35.WebUI.UltraWebGrid.v10.3 Events Used: IntializeLayout
2. Infragistics35.WebUI.UltraWebGrid.ExcelExport.v10.3 Methods Used: BeginExport CellExported
3. Infragistics35.WebUI.UltraWebChart.v10.34. Infragistics35.WebUI.UltraWebCalcManager.v10.35. Infragistics35.WebUI.UltraWebListbar.v10.36. Infragistics35.WebUI.UltraWebNavigator.v10.3 (UltraWebTree)7. Infragistics35.WebUI.WebCombo.v10.38. Infragistics35.WebUI.Documents.v10.3
Kindly advice.
Hello Krish TS,
Thank you for posting in our forums.
First, as you are upgrading to 14.1, you may need to upgrade your project to support .NET 4.0. Starting with Infragistics 13.1, we no longer provide .NET 3.5 versions of our assemblies for ASP.NET. You can find more information on this in the following blog post:
http://www.infragistics.com/community/blogs/jason_beres/archive/2012/05/29/updated-support-for-clr-versions-and-visual-studio-versions.aspx
As for which controls and events to use in the newer version, I recommend reading over this blog post which describes which controls to use in detail:
http://www.infragistics.com/community/blogs/taz_abdeali/archive/2011/11/17/asp-net-product-changes-in-2011-volume-2.aspx
The above blog does not go over individual events, so please see the following information:
1. IntializeLayout - It depends on what exactly you are doing in this event. As long as the timing of the binding is correct there should be no issues. You can do things in the Page_Load or sometimes Page_PreRender depending on usage. The WebDataGrid does not have an InitializeLayout or InitializeDataSource event so no need to worry about them. The following forum post provides a lot of useful information for getting started with the WebDataGrid:
http://www.infragistics.com/community/forums/t/42199.aspx
2. BeginExport - http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=Infragistics4.Web.v14.1~Infragistics.Web.UI.GridControls.WebExcelExporter~Exporting_EV.html
CellExported - http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=Infragistics4.Web.v14.1~Infragistics.Web.UI.GridControls.WebExcelExporter~CellExported_EV.html
If you need any further questions or concerns with this, please let me know and I will be glad to help.
Hi Harrington,
Thanks for the reply.
Need some further details on WebDataGrid and WebExcelExporter in follow up on this.
1. UltraWebGrid To WebDataGrid:These are the operations we are doing inside UltraWebGrid IntializeLayout event: - Grids all the Column Headers Manpulations like, - Caption Setting - Style (Font, Height) - RowLayoutColumnInfo.OriginX - RowLayoutColumnInfo.OriginY - Columns SortIndicator - Columns SortingAlgorithm
If WebDataGrid doesn't contain IntializeLayout then what is equivalent event can be used in the place of UltraWebGrid's IntializeLayout for placing the above operations without affecting the existing functionalities?
2. UltraWebGrid.ExcelExport To WebExcelExporter:These are the operations we are doing inside UltraWebGrid.ExcelExport BeginExport event:
- e.CurrentWorksheet.MergeCellRegions.Add(...) - e.CurrentWorksheet.Rows[...].CellFormat.BottomBorderColor = ...
If WebExcelExporter doesn't contain BeginExport then what is equivalent event can be used in the place of UltraWebGrid.ExcelExport for placing the above operations without affecting the existing functionalities?
Kindly advice
Note:If I get into the forum posts for finding the solution for this, I'm getting lost to get a precise answer for this inside other queries.So, please provide your input with some exact details for the above.
With regards,Krish TSCSCIndia
I recommend performing the operations mentioned for the WebDataGrid during the Page_Load event.
The Caption settings and CssClass can be set on a column. Setting the CssClass allows you to specify the Font and Height for the column through CSS.
The closest equivalent to the RowLayoutColumnInfo.OriginX property is the Column's VisibleIndex property. http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=Infragistics4.Web.v14.1~Infragistics.Web.UI.GridControls.GridField~VisibleIndex.html
For sorting the columns, you will need to enable the sorting behavior. Please see more information on this in our documentation here: http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=WebDataGrid_Sorting.html
For an equivalent BeginExport event on the WebExcelExporter, you will want to use the Exporting event. You can access the e.CurrentWorksheet property through the e.Worksheet argument of the Exporting event. You can find more information on this here: http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=Infragistics4.Web.v14.1~Infragistics.Web.UI.GridControls.WebExcelExporter~Exporting_EV.html
If you have any further questions or concerns with this, please let me know.
Please let me know if you need further assistance with this issue.