aspx:InlineMessage
This component is suitable for showing an inline message within your page to users. InlineMessage component provides several options to show "errors", "warnings" or "informational" messages to users.
<aspx:InlineMessagerunat='server' type='Error' title='Invalid Input'>
<!-- add your HTML formated message here -->
</aspx:InlineMessage>
<!-- using the visible property you can show/hide the message -->
<aspx:InlineMessagerunat='server' type='Error' title='Invalid Input'
visible='<%# !ModelState.IsValid %>'>
<!-- add your HTML formated message here -->
</aspx:InlineMessage>
Properties
| Name | Description |
|---|
| ShowIcon | Displays an icon based on the type given, default is: false. |
| Type | Possible values are "Error", "Warning", "Message" and "Confirmation". If "Confirmation" is selected, the component will show a "question mark". |
| Title | Title of the inline message. |
| Visible | boolean, whether the component is displayed or not. |