.NET-Based Version of BuildTopNavTable

.NET-Based Version of BuildTopNavTable

The implementation of the routine BuildTopNavTable in this section is coded in Visual C# and was tested within a page template using Content Management Server 2002.

Classes in these two namespaces are used.

using Microsoft.Web.UI.WebControls; using Microsoft.ContentManagement.Publishing; 

The function returns a Table object from the Microsoft.Web.UI.WebControls namespace.

private Table BuildTopNavTable() { 

Most of the variables are declared up front, and should be self-explanatory from their names, mostly. The UI-related variables are declared first, then the variables related to Content Management Server objects.

Previous  Next


Microsoft Corporation - Microsoft. Net Server Solutions for the Enterprise
Microsoft .NET Server Solutions for the Enterprise
ISBN: 0735615691
EAN: 2147483647
Year: 2002
Pages: 483

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net