Table of Contents


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

NameDescription
ShowIconDisplays an icon based on the type given, default is: false.
TypePossible values are "Error", "Warning", "Message" and "Confirmation". If "Confirmation" is selected, the component will show a "question mark".
TitleTitle of the inline message.
Visibleboolean, whether the component is displayed or not.