473,508 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Image button.

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.

Nov 20 '05 #1
8 1067
Cor
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'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?

Nov 20 '05 #2
You are right, Cor.
I'm using webform.
Thanks for your remind.

"Cor" <no*@non.com> wrote in message
news:#w**************@tk2msftngp13.phx.gbl...
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'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?


Nov 20 '05 #3
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.

"Phoebe." <ph********@hotmail.com> wrote in message
news:Op**************@TK2MSFTNGP11.phx.gbl...
You are right, Cor.
I'm using webform.
Thanks for your remind.

"Cor" <no*@non.com> wrote in message
news:#w**************@tk2msftngp13.phx.gbl...
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'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?



Nov 20 '05 #4
Cor
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
Nov 20 '05 #5
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
///
Nov 20 '05 #6
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

"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #7
Cor
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
Nov 20 '05 #8
* "Phoebe." <ph********@hotmail.com> scripsit:
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?


Use a button displaying an image:

<http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#h-17.5>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6876
by: Marek Mänd | last post by:
Can the <button><img></button> mutated via CSS so, that the inner image of <BUTTON> would entirely visually become the button itsself - I mean without the outer elements borders and so... ...
4
2424
by: Ester | last post by:
I have an interior design of a living room with lights and aircond image. My task is to load the living room image without any light and aircond images as background image of a WebForm after that I...
2
2695
by: Ester | last post by:
Instead of drag and drop image button from Toolbox and name the image button id on the properties box, I would like to load image button ID from database. I created a database table that stores...
2
3479
by: Matt | last post by:
In the following code, I have 2 questions regarding submit button with image. 1) Does this code <input type="image" name="populate" src="populate.gif"> behave the same as an HTML submit button...
15
31771
by: Anand Ganesh | last post by:
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and...
0
1893
by: Deepak C.G via .NET 247 | last post by:
I want to dispose the image object in my child form, unless I won't dispose this object i can't delete the image file in my folder. I get this error in MDIparent form "An unhandled exception...
1
6112
by: Phil_Cam | last post by:
Hello All On a webpage I have a standard paypal image button for purchases. I am trying to set it up so that it only shows up or is endabled when text is entered into a textbox and a button is...
16
2836
by: browntown | last post by:
so I have this application I'm nearly finished with. The only thing the client has requested is the ability to submit the form by pressing "enter". I didn't think this would be a huge pain in the...
2
2351
by: Poppa Pimp | last post by:
ImageResizer.php Image Resizer PLEASE HELP The URL of the page this is on in my site is http://poppa-pimps-wallpapers.com//ImageResizer.php You can click on browse and get image,but...
4
5005
by: Marcolino | last post by:
Hi, I have simple needs but I don't know how to implement it. I have application that create Dynamic Button. I need to set the image on this button, getting the icon from a form. So pratically...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.