-
Book Overview & Buying
-
Table Of Contents
Building Websites with Microsoft Content Management Server
Before proceeding with the examples in this chapter, we will make a copy of the Default Console. We will modify the copy instead of the original file. Ensure that you have completed these steps:
In the Console folder of the TropicalGreen solution, create a copy of the DefaultConsole.ascx file. Name the copy CustomConsole.ascx. Do a search for all instances of the text string DefaultConsole and replace with CustomConsole in both CustomConsole.ascx and its corresponding code-behind file. There should only be 2-3 instances in the HTML and code-behind views. Save and build the solution.
Replace the Default Console in the Plant template. Open the Plant.aspx template file in Design view. Drag and drop the CustomConsole.ascx file onto the place where the Default Console is. Delete the Default Console.
In Solution Explorer, create a new folder in the root of the TropicalGreen project named ConsoleButtons. This is where we will store all the class files when we create custom action controls...
Change the font size
Change margin width
Change background colour