ComponentOne Accordion for ASP.NET AJAX: Accordion 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 C1AccordionPane content area.

To display external content in a C1AccordionPane's accordion using the C1Accordion Tasks menu:

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

2.   Enter a URL next to the C1AccordionPane’s ContentUrl property.

To display external content in a C1AccordionPane's accordion 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

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

    End Sub

      C#

protected void Page_Load(object sender, EventArgs e)

    {

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

 

    }


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