Monday, August 6, 2012

Working with Styles in Designer

Styles are JavaScript expressions that evaluate to true or false for each data row in a view. When the expression evaluates to true, a CSS class is applied to the row. This allows applying conditional styling to data rows rendered on the pages.

Styles can be found on the Styles tab of a view properties page.

Styles tab on the View page in the Project Browser.

A new style can be created by using the New | New Style action on the action bar.

New Style action on the action bar of Styles tab in the Project Browser.

The properties for a style can be viewed by clicking on the Css Class link or using Open context menu option.

Open context menu option on Styles tab of Project Browser.

Styles can be deleted using the Delete context menu option.

Delete context menu option in the Project Browser.

Styles do not exist as nodes in the Project Explorer.

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com