Intersoft WebGrid Documentation
How-to: Enable Default Style for existing instance of WebGrid
See Also Send comments on this topic.

Glossary Item Box

You can enable default style in one of the three way described in the following:

  1. SmartTag Designer
    The easiest way to enable Default Style for an existing instance of WebGrid is through SmartTag Designer. SmartTag Designer is a new feature in WebGrid.NET version 5.0. To enable default style from SmartTag Designer:
    • Select an instance of WebGrid.
    • If the SmartTag Designer Panel does not appear, please click the symbol that appears at the right top relatively to the WebGrid.
    • With the SmartTag Designer Panel displayed, click on the "Default Style" dropdown list which is under Styles category.



      Using SmartTag Designer is the recommended way to enable Default Style feature. The Default Style selection will automatically clean up all style tags in the control definition.
  2. Property Set
    You can also manually enable the Default Style feature by setting the UseDefaultStyle property to True in the Visual Studio's property window.

However note that this manual approach does not automatically clean up existing style definition.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.