Web Editors Templates | Xafari Xtra Editors
Select Page

 Web Editors Templates

Xafari platform supplies a line of ASPx editors that allows you to flexibly customize the UI of Web-application.

Before proceeding, it is recommended that you review the UI Introduction topic.

  • Application developer can create a custom control (Web User Control) for editor, called template. Each editor has the default template.
  • Developer can to limit the maximum and minimum width of the default template in the Application Model.
  • Nested Frame Control, used to visualize the List View, supports a variety of templates.
  • To design own templates developer can use Visual Studio templates? supplied by Xafari: Xafari Custom Editor Template(ASCX Only) и Xafari Custom Editor Template

To see the editors that support templates in action, refer to the List Editors|Xafari Grid List Editor section in the the Xafari XtraEditors demo installed with product.

Warehouse List View

The sample above demonstrates the following editors:

  • ASPxXafariGridListEditor displays the list of objects
  • ASPxXafariBooleanPropertyEditor displays Availability property
  • ASPxXafariEnumPropertyEditor displays Category property
  • ASPxXafariIntPropertyEditor displays Equipment property
  • ASPxXafariDateTimePropertyEditor displays ExpirationDate property
  • ASPxXafariImagePropertyEditor displays Image property
  • ASPxXafariDecimalPropertyEditor displays Price property
  • ASPxXafariFloatPropertyEditor displays Weight property

View Mode

Edit Mode

All user Templates are located in the Templates directory. It names corresponds to the types of Property Editors. Most Templates are specified directly.

Framework looks for automatically Templates for Equipment and Price properties. This properties are displayed using default templates, and framework looks for required Templates in the Options|CustomTemplates|ViewItem|Resolver(Templates) node.

For more information, see:

  • UI Introduction
  • Design-Time Features
  • Supplied Editors