Image button.

  • Thread starter Thread starter Phoebe.
  • Start date Start date
P

Phoebe.

Hi, Good Day!

I've a small little image and I'd like this image to act as button.
i.e. by clicking it, it can redirect me to anther page.
How can i set it?

Can someone help?
Thanks in advanced.

rgds,
Phoebe.
 
Hi Phoebe,

I get the idea you are using webforms, is that so?
(If so it is better to tell this in this newsgroup, windowform is the
default)

Cor
 
i would suggest that you have a look at the asp newsgroup 2
microsoft.public.dotnet.framework.aspnet

not that you wont get help here but there are a lot of specific things that
the people there know a lot better.
 
Hi EricJ,
i would suggest that you have a look at the asp newsgroup 2
microsoft.public.dotnet.framework.aspnet

Mostly not with serverside VB.net and the VS.studio.net DLL 's.

There it is mostly aspx and java scripting or server problems.

Cor
 
Hi Phoebe,

I write a message to Eric and almost forget to answer.

I do not see the problem, in the click event from that image button in your
form you can set a response.redirect I thought, what is the problem with
that?

I give you a sample I made once.

Cor

Webpage 1
\\\\
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.Label1.Text = "I am page 1"
End Sub
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ImageButton1.Click
Response.Redirect("http://localhost/WebApplication1/WebForm2.aspx")
End Sub
///
Webpage2
\\\
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Me.Label1.Text = "I am page 2"
End Sub
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ImageButton1.Click
Response.Redirect("http://localhost/WebApplication1/WebForm1.aspx")
End Sub
///
 
you are right (although there is a lot of server side programming there 2,
not all vb) but i was not telling phoebe not to ask things here, yust to
have a look there 2 (i find it an interesting ng if you are working w web
forms)

eric
 
Hi EricJ,

There is a lot of serverside but confusing is that a lot of people who visit
that newsgroup use it with the SDK kind of coding, not what we are used to
with the IDE, and those who do it with the SDK do not know about the IDE
way.

But for the rest I agree with you.

Cor
 
Back
Top