Image Button Control
The ImageButton control is used to display a clickable image.
Source code
<asp:ImageButton ID="ImageButton1" runat="server" Height="200px"
ImageUrl="~/Images/download_button.jpg" onclick="ImageButton1_Click"
Width="200px" />
Code File
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("~/Images/download.doc");
}
0 comments:
Post a Comment