In This Topic
The C1DialogExtender 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.
- Add a standard Panel control to the main content of your page.
- Click the Panel smart tag and select Add Extender from the Tasks menu.
- In the Extender Wizard, select C1DialogExtender and click OK. A C1DialogExtender control is added to the page and the TargetControlID is set to TextBox1.
- Select View | Properties Window in the Visual Studio menu.
- Click the drop-down list at the top of the Properties window and select Panel1_C1DialogExtender.
- Set the C1DialogExtender.ContentUrl property to http://www.yahoo.com, for example. Your markup should look similar to this:
<cc1:C1DialogExtender ID="Panel1_C1DialogExtender" runat="server" CloseOnEscape="False" ContentUrl="http://www.yahoo.com" Show="blind"
TargetControlID="Panel1">
</cc1:C1DialogExtender>
-
Press F5 to run the application and view the external content.