ComponentOne NavPanel for ASP.NET AJAX: NavPanel for ASP.NET AJAX Task-Based Help > Displaying External Content

Displaying External Content

You can show external content, including content of another Web page in your project or even content of a Web site outside of your project, in the C1NavPanelPane content area.

To display external content in a C1NavPanelPane's content area using the C1NavPanel Tasks menu:

1.   Click the C1NavPanel smart tag to open the C1NavPanel Tasks menu.

2.   Enter a URL next to the ContentUrl property.

To display external content in a C1NavPanelPane programmatically:

Add the following code to your form:

      Visual Basic

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        C1NavPanel1Pane1.ContentUrl = "http://www.componentone.com"

    End Sub

      C#

protected void Page_Load(object sender, EventArgs e)

    {

        C1NavPanel1Pane1.ContentUrl = "http://www.componentone.com";

 

    }


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.