15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ContentBlock Server Control<br />

Static Content Block<br />

The ContentBlock Server Control displays a content block on an<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> Web page.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> has two types of content blocks:<br />

• Static - displays one specified content block<br />

• Dynamic - displays the content block of the ID passed through<br />

a URL parameter<br />

In addition, a content block can contain XHTML or XML content.<br />

For an example of using the ContentBlock Server Control<br />

programmatically, see ”Using the ContentBlock Server Control<br />

Programmatically Example” on page 80<br />

This subsection contains the following topics:<br />

• ”Static Content Block” on page 71<br />

• ”ContentBlock Server Control Properties” on page 72<br />

• ”Dynamic Content Block” on page 73<br />

• ”XML Content Block” on page 76<br />

• ”The OverrideXslt and DisplayXslt Properties” on page 77<br />

• ”Using the ContentBlock Server Control Programmatically<br />

Example” on page 80<br />

A static content block displays one identified content block on a<br />

Web page. The following table explains how to complete the server<br />

control properties to insert a static content block on a Web page.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!