Creating the TOC
In Visual Studio .Net go to the “Project” menu and select “Add Web Form…” Name this form toc.aspx. From the Hyper.Net Framework SDK toolbar drag the TOC control and drop it into the workspace, and make it look like Figure 12.
Figure 11 – Toc.aspx.
This page does not require any code behind to work. To achieve a custom rendering you can create your own XSLT file based on the TocToHTML.xslt provided by default. You’re free to explore this file and change it to your needs. In our Acme application we’ll leave its default definition.
In this way we have concluded one of the biggest parts of this Acme web application. Now let’s move forward to implement topic navigation for the application.