ComponentOne Wijmo Open for Juice UI
Wijmo Open for Juice UI Extender Controls / WijDialog / WijDialog Task-Based Help / Setting External Content
In This Topic
    Setting External Content
    In This Topic

    The WijDialog control supports displaying external content, either from another page in the same project or from an external Web site. Simply set the ContentUrl property to take advantage of this feature.

    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 a standard Panel control to the main content of your page.
    3. Switch to Source view and use the following markup to add a WijDialog control to the page and set the TargetControlID to Panel1.
        <cc1:WijDialog ID="Panel1_WijDialog" runat="server"
      
              TargetControlID="Panel1">
      
          </cc1:WijDialog>
      
    4. Select View | Properties Window in the Visual Studio menu.
    5. Click the drop-down list at the top of the Properties window and select Panel1_WijDialog.
    6. Set the WijDialog.ContentUrl property to http://www.yahoo.com, for example. Your markup should look similar to this:
              
      <cc1:WijDialog ID="Panel1_WijDialog" runat="server" CloseOnEscape="False" ContentUrl="http://www.yahoo.com" Show="blind"
      TargetControlID="Panel1">
      </cc1:WijDialog>
    7. Press F5 to run the application and view the external content.