Tool tips are .NET control properties. Iron Speed Designer places them in the ASPX pages when generating the pages.
For button controls, there is a "Tool tip" field on the Properties dialog's Display tab.
|
Pass-Through Attribute |
Value |
|
Button-ToolTip |
Click here to win! |
For other controls, use the pass-through attribute mechanism in the Properties dialog (Attributes tab). Enter "ToolTip" as the attribute name and the tool tip text as the value. Do not use quote marks around the text.
|
Pass-Through Attribute |
Value |
|
ToolTip |
Enter a freight value |
These code generation tags and their corresponding generated .NET controls are known to have tool tips:
|
Code generation tag |
Generated .NET control |
|
FieldFilter |
Dropdown list |
|
FieldValue |
Radio button list |
|
FieldValue |
List box |
|
FieldFilter |
Text box |
|
FieldLabel |
Label |
|
FieldLabel |
Hyperlink |
|
FieldValue (Image Button, Link Button, Push Button) |
Button |
|
FieldValue |
Check box |
Not all .NET controls have a ToolTip property, and the pass-through attribute mechanism will pass anything you enter through to the ASPX page, whether it makes sense or not. If the underlying control supports the property (ToolTip), then it will function properly. If not, then it's likely you'll get an ‘Internal Server Error’. For example, .NET literal controls don't have a ToolTip property, so you'll get an Internal Server Error when displaying a page containing a literal with a ToolTip properly.
These .NET controls are known not to support tool tips:
|
Code generation tag |
Generated .NET control |
|
FieldValue |
Literal |
The ToolTip property is a .NET property defined at the WebControls level, which means that many controls support them. See: