Skip to content

<xmod:ReturnImage>

<xmod:ReturnImage> renders a clickable image that returns the user to the previous list view — same behavior as <xmod:ReturnButton>, just rendered as an image rather than a push-button.

Sibling variants

Example

html
<xmod:Template Id="Employees">
  ...
  <DetailTemplate>
    <h1>[[FirstName]] [[LastName]]</h1>
    <div>[[Bio]]</div>
    <xmod:ReturnImage AlternateText="Go Back" ImageUrl="~/images/back.gif" />
  </DetailTemplate>
</xmod:Template>

Properties

PropertyValuesDefaultDescription
IDstringUnique identifier for the image button
ImageUrlURLPath to the image file. Tilde (~) supported
AlternateTextstringAlt text for screen readers and search engines
ImageAlignNotSet Left Right Baseline Top Middle Bottom AbsBottom AbsMiddle TextTopNotSetImage alignment relative to surrounding content
CssClassstringCSS class name(s)
StylestringInline CSS
WidthsizeWidth of the image
HeightsizeHeight of the image
ToolTipstringHover tooltip
VisibleTrue FalseTrueShows or hides the control
OnClientClickJavaScriptClient-side script to run on click. Returning false cancels the action
AccessKeystringKeyboard shortcut character
EnabledTrue FalseTrueWhen False, the control is disabled
TabIndexintegerTab order for keyboard navigation
Deprecated Properties (styling)

BackColor, BorderColor, BorderStyle, BorderWidth, Font-*, ForeColor — use CssClass or Style instead.