473,385 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sending the user back a page

Hi,

What would the easiest way be to send a user back a page when he clicks a
asp.net image control (representing a button).

Is it possible to fire an ASP.net event when this happens?

Thanks

Simon
Nov 18 '05 #1
4 1049
Simon,

I assume you don't want an ImageButton control because you want to avoid an
extra postback.

You can do this:
<A href="your page url"><asp:Image id="Image1" runat="server" ImageUrl="you
image url" /></A>

or, if all you need is just a static image:
<A href="your page url"><IMG src="you image url"></A>

Eliyahu

"Simon Harvey" <si**********@the-web-works.co.uk> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi,

What would the easiest way be to send a user back a page when he clicks a
asp.net image control (representing a button).

Is it possible to fire an ASP.net event when this happens?

Thanks

Simon

Nov 18 '05 #2
Hi,

That works, the only problem is when you hover over the image, the cursor
doesnt change to show that the are is clickable.

Is there any easy way to change this? Perhaps by adding an href or
something?

Thanks for your help

simon
Nov 18 '05 #3
Simon,

You can set cursor shape in a stylesheet with attribute cursor:hand.

Eliyahu

"Simon Harvey" <si**********@the-web-works.co.uk> wrote in message
news:uR****************@tk2msftngp13.phx.gbl...
Hi,

That works, the only problem is when you hover over the image, the cursor
doesnt change to show that the are is clickable.

Is there any easy way to change this? Perhaps by adding an href or
something?

Thanks for your help

simon

Nov 18 '05 #4
Thanks
Nov 18 '05 #5

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

Similar topics

8
by: Good Man | last post by:
Hi I'm building a 'job posting' site of sorts. When a job is available in a particular state, I want the system to send an email to everyone who is 'watching' that state. I know how to do...
13
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
2
by: Robert | last post by:
I'm new to XML. I need to have my asp.net page accept an XML document sent via HTTP (from a Java app), process some info and send back a response as XML. I continue to get back an error on my...
3
by: Pradeep Kumar C | last post by:
Hi , I am working on a ASP.Net Web Application which need some requirement as given below. Let's say two user's A and B. When a User A Assign a task to B , Then B need to get some sort of...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
5
by: Vishal | last post by:
Hello, I already asked this question in the ASP.NET forums, but no help came. So I am hoping that somebody can help me out. This is really very URGENT me. For my e-commerce application, I...
0
by: Michael Bredbury | last post by:
Dear All I am developing a web site in VS 2002 using VB.NET and ASP.NET which uses a client side ActiveX control in the web-browser to perform tasks such as determining what MS Office products...
7
by: undbund | last post by:
Hi I am creating a newsletter system. The software should run from desktop computer (localhost) but be able to send email to anyone on the internet. Can you guys give me some ideas on how to...
8
by: nargis2009 | last post by:
Hi, I have been encountering problems with my web page which is supposed to send email, and wondered if anybody can help find error. Initially I had all codes in one page and on click of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.