Download Ektron CMS400.NET Developer Reference Manual

Transcript
ListSummary Server Control
•
•
FolderID - Displays summaries from the folder with the ID 14
•
•
•
MaxResults - Unlimited results appear
•
GetHtml - Does not display the HTML from the content blocks in the list
summary
OrderKey - Summaries sorted by content block title
Random - Displays summary for all content blocks in folder, not just one
random one
Recursive - Includes only selected folder, not its child folders
Retrieving the XML Structure of a List Summary
Retrieving the XML structure of XML content allows for greater control over
developing XSLs. The following is an example of how to retrieve the XML
structure:
NOTE
1.
Open a new Web form.
2.
Drag and drop a ListSummary server control onto it.
3.
Set the FolderID property.
4.
Drag and drop a Textbox on the Web form.
5.
Set the TextMode property to MultiLine.
It is also recommended that you set the width of the text box to at least 400px.
6.
On the code behind page, add the following line.
Textbox1.Text = ListSummary1.XmlDoc.InnerXml
7.
Build the project.
8.
View the Web form in a browser.
9.
The XML structure of the list summary appears in the textbox.
Ektron CMS40 0.NET Deve lope r Re fe re nce Manua l, Version 6.0 for .NET 2 .0 , Rev 8
142