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 223 'Infragistics.Web.UI.LayoutControls.ContentTabItem' does not contain a definition for 'ContentPane' and no extension method 'ContentPane' accepting a first argument of type 'Infragistics.Web.UI.LayoutControls.ContentTabItem' could be found (are you missing a using directive or an assembly reference?)
Below error is there while fixing the code:
WebTab uwt = (WebTab)sender; foreach (ContentTabItem t in uwt.Tabs) { WebNumericEditor wne = (Infragistics.Web.UI.EditorControls.WebNumericEditor) contentTab.Tabs.FindTabFromKey(t.Key).ContentPane.FindControl("WebNumericEditor" + t.Key); wne.NumberFormat = new System.Globalization.NumberFormatInfo() { NumberGroupSeparator = "" }; wne.NegativeForeColor = Color.Red; wne.CssClass = ""; }
Hi,
You should rather use the ueqwivalent code for WebTab, which is:
contentTab.Tabs.FindTabFromKey(t.Key).FindChildControl(("WebNumericEditor" + t.Key)
Please let me know if you have further questions on the matter, I will be glad to help.