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: WebExplorerBar does not contain a definition for "Expanded" and no extension method 'Expanded" accepting a first argument type 'Infragistics.Web.UI.NavigationControls.WebExplorerBar' could be found (are you missing a using directive or an assembly reference)?
The code is given below for your reference. Please suggest what thing I can use instead of Expanded property..........
public void createImportPanel(int tableID, string tableNm, string DB) { importPL.Visible = true; importPL.Expanded = true; // here Expanded property don't work, suggest quick fix for this without changing too much ViewState["tableID"] = tableID; ViewState["tableNm"] = tableNm; ViewState["DB"] = DB; }
Hello,
From the details shared it seems you are referring to the following Expanded Property:
Please notice it is to be used with a WebExplorerBar Group.
For example, you could set or get the Expanded state of a particular WEBGroup like the following:
//Expanded - details bool isExpandedInitCheck = WebExplorerBar1.Groups[0].Expanded; WebExplorerBar1.Groups[0].Expanded = true; bool isExpandedCheck = WebExplorerBar1.Groups[0].Expanded;
I am attaching a code sample for your reference.