First, close and re-open Visual Studio .NET, and then open the TropicalGreen
solution. In Template Explorer, check out the Plant
template. Right-click and select Properties
. Click on the ellipsis in the PlaceholderDefinitions
field to open the Placeholder Definition Collection Editor
.
Click on the arrow next to the Add
button and select the HtmlStrippingPlaceholderDefinition
. Set the following properties:
Property |
Value |
|
|
|
|
|
|
Make sure to check in the Plant template object before continuing.
Note
The HtmlStrippingPlaceholderDefinition
is not available in the Placeholder Definition Editor.
If the HtmlStrippingPlaceholderDefinition
is not listed, chances are, Visual Studio .NET could not load it. When that happens, check the application event log. There are several reasons why the Placeholder Definition does not get loaded.
The Class is not a
PlaceholderDefinition
You will see an error message...