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
1620
WebExplorerBar ID = importPL -- "Expanded" property don't work - Expanded property was being used in "WebPanel" upgraded now to "WebExplorerBar"
posted

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;
        }
Parents
No Data
Reply
  • 10685
    Suggested Answer
    Offline posted

    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.

    WEB_ExpandGroup.zip
Children
No Data