Now that we have added the placeholders, save and build the solution. To see the resulting page in authoring mode:
Save and build the TropicalGreen solution.
In Internet Explorer, navigate to
http://localhost/tropicalgreen/plantcatalog
.Click on the
Switch To Edit Site
link in the Web Author Console.Click
Edit
.
The first time an author opens a posting that contains an HtmlPlaceholderControl
for editing, they will be prompted to install the ActiveX control for the "Microsoft CMS HTML Editor" . The author must have Power User or Administrator rights on the Windows machine in order to install this control. If you get the following dialog box, click Yes
:
Here's what you will see:
The posting that we created earlier now has an HtmlPlaceholderControl
for entering the description, a SingleAttachmentPlaceholderControl
for uploading a single research paper, and a SingleImagePlaceholderControl
for uploading the plant's image.