Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
An ImageButton control allows you to present a picture as a clickable control.
Note |
|---|
If you want to create an image with clickable regions, you can use the ImageMap control. |
To create a graphical button
Type an
<asp:ImageButton>element into the page.Set the button's ImageUrl property to point to an image file (for example, .gif or .jpg).
You can point to an image file anywhere using a URL or UNC path.
Security NoteThe URL associated with an ImageButton control can be tampered with by a malicious user. For more information, see How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings.
Note