ComponentOne Wijmo Open for Juice UI
Wijmo Open for Juice UI Extender Controls / WijExpander / WijExpander Task-Based Help / Displaying External Content in the Expander
In This Topic
    Displaying External Content in the Expander
    In This Topic

    The WijExpander supports displaying external content. For example, you can display a Web site within the content area of the expander extender. In this example, you'll display the ComponentOne Web site within an expander by setting the ContentUrl property.

    Complete the following steps:

    1. Create an ASP.NET Web application with a ScriptManager control and install Juice UI and the Wijmo Juice libraries to your project via NuGet.
    2. Add the following markup within the main <div> tag to add a Panel control and set the expander extender:
    <asp:Panel ID="Panel1" runat="server">
    
        <h3>componentone.com (click to collapse/expand)</h3>
    
        <div>
    
        </div>
    
    </asp:Panel>
    
    <cc1:WijExpander ID="Panel1_WijExpander" runat="server" TargetControlID="Panel1" ContentUrl="http://www.componentone.com/">
    
    </cc1:WijExpander>
    

    Note that the ContentUrl property is set to display a Web site.

    What You've Accomplished

    Press F5 to run your application and notice that the ComponentOne Web site is displayed inside the expander extender. Note that you can interact with the Web site at run time within the expander.