If you applied some of the predefined skins for the RadInput controls (for example the Default skin), you can easily modify its look and feel by the following style properties:
-
EnabledStyle - use this property to provide a custom style for the enabled RadInput control.
Important: The definitions from the EnabledStyle property in the RadInput control are inherited from one style property to another in a hierarchy. Therefore, the appearance settings specified by the EnableStyle property will be propagated for the rest of the styles. For example, if you specify a red font for the EnabledStyle property, all other style properties in RadInput will also have a red font
-
DisabledStyle - use this property to provide a custom style for the disabled RadInput control
-
EmptyMessageStyle - use this property to provide a custom style for the empty message state of RadInput control
-
FocusedStyle - use this property to provide a custom style for the focused RadInput control
-
HoveredStyle - use this property to provide a custom style for the hovered RadInput control
-
InvalidStyle - use this property to provide a custom style for the invalid state RadInput control
Apart from using a CSS skin, the RadInput look can be customized by using declarative styles or custom CSS classes. In general, the recommended way is to use custom CSS classes or a custom CSS skin.
The first pair of
RadInput controls also demonstrate how to align the left edges of the textboxes by applying
width and a
display:block CSS style to the control labels.
Related Resources