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
Levels: not working after upgrading from UltraWebGrid to WebDataGrid..........please reply...

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 270 'Infragistics.Web.UI.NavigationControls.DataTreeNode' does not contain a definition for 'Levels' and no extension method 'Levels' accepting a first argument of type 'Infragistics.Web.UI.NavigationControls.DataTreeNode' could be found (are you missing a using directive or an assembly reference?)

Below error is there while fixing the code:

WebDataTree1.Levels[0].LevelKeyField = "Menu2_ItemID";
               if (menuDS.Tables["Menu3"].Rows.Count > 0)
                   WebDataTree1.Levels[0].RelationName = "MenuLevel1";
                   WebDataTree1.Levels[1].ColumnName = "Menu3_Nm";
                   WebDataTree1.Levels[1].LevelKeyField = "Menu3_ItemID";