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.
- Create an ASP.NET Web application with a ScriptManager control and install Juice UI and the Wijmo Juice libraries to your project via NuGet.
- Add a standard Panel control to the main content of your page.
- 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>
- Select View | Properties Window in the Visual Studio menu.
- Click the drop-down list at the top of the Properties window and select Panel1_WijDialog.
- 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>
- Press F5 to run the application and view the external content.