473,666 Members | 1,977 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 1071
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******** ******@tk2msftn gp13.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.publi c.dotnet.framew ork.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********@hot mail.com> wrote in message
news:Op******** ******@TK2MSFTN GP11.phx.gbl...
You are right, Cor.
I'm using webform.
Thanks for your remind.

"Cor" <no*@non.com> wrote in message
news:#w******** ******@tk2msftn gp13.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.publ ic.dotnet.frame work.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.redire ct 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.EventArg s) Handles MyBase.Load
Me.Label1.Text = "I am page 1"
End Sub
Private Sub ImageButton1_Cl ick(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles ImageButton1.Cl ick
Response.Redire ct("http://localhost/WebApplication1/WebForm2.aspx")
End Sub
///
Webpage2
\\\
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Me.Label1.Text = "I am page 2"
End Sub
Private Sub ImageButton1_Cl ick(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles ImageButton1.Cl ick
Response.Redire ct("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******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi EricJ,
i would suggest that you have a look at the asp newsgroup 2
microsoft.publ ic.dotnet.frame work.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********@hot mail.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
6890
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... I tried removing paddings and borders and margins but this wouldnt seem to help. in MSIE, Mozilla and Opera - there still some pieces of the
4
2438
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 have to add image button which are lights and aircond images on top of this background image (living room). Instead of drag and drop an image button from the toolbox and browse the image link, I would like to load the image for the image button from...
2
2705
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 Image Button ID and Image (path name of the image for the image button). Example of the data will be: (ImgBtnLight, image\light.gif). The data type of the Image Button ID field in the database table is varchar whereas data type of image button in...
2
3498
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 with image populate.gif? When I click p1 or p2 button, it will post the page to process.asp. 2) When I check the checkbox, I want the image in submit button change from populate.gif to validate.gif. Unfortunately, the code InputForm.p2.src =...
15
31797
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 help. Regards
0
1900
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 of type 'System.ArgumentException' occurred in system.windows.forms.dll" "Additional information: Invalid parameter used." Here is my code:-
1
6126
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 pressed. To do this I set the type to hidden and changed the type of the button using javascipt to image. This works perfectly in Modilla's Firefox but in IE it says there is a scipt error. Here is the javascipt
16
2861
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 ass and the app will be used internally so I'm not too worried about users who aren't using javascript. I'm using the following javascript to detect whether or not they've hit enter: if(document.layers) {
2
2360
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 when you upload image it will go to another page and says ]((unable to create emp directory)) Here is a site to be able to see script actually work http://tech.tailoredweb.com/image-editor-52/ and can be DL from there also. I am using FP 2003 and...
4
5026
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 I need to convert dinamically a Form.Icon to Button.Image runtime, but i don't know how. Any help would be appreciated. Many Thanks
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.