Image Button

Results 1 to 2 of 2

Thread: Image Button

  1. #1
    Join Date
    Dec 1969

    Default Image Button

    I am using an image button and onclick of the image button I need to go to a different page. Is there a method in Image Button which does so or do i have to use a function. If i need to use a function do i have to write it for every image button i click<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Image Button

    Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click<BR><BR>Response.redirect "abc.aspx"<BR><BR>End Sub<BR><BR>Or just do it in javascript with an image.<BR><BR>&#060;a href="javascript:location.href=&#039;test.aspx&#03 9;"&#062;&#060;img src="abc.jpg"&#062;&#060;/a&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts