What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 8946 |  Welcome, Guest!   Register  Login
 Home > Forums > WPF > automatically Page redirection by clicking image button. ...
Raj.Net

automatically Page redirection by clicking image button.

Replies: 5 | Posted by: Raj.Net on 6/22/2012 | Category: WPF Forums | Views: 570 | Status: [Member] | Points: 10  


Hi, Good Day!

I've a image & would like to direct it to another webform by clicking it.

<input class="imageGo" src="images/go.gif" ondblclick="EnterPage"
runat="server" type="image">

Above is what i insert but it does not direct me to the page i want.

Can someone help?


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Raj.Net
Raj.Net  
Posted on: 6/22/2012 7:11:00 AM
Level: Starter | Status: [Member] | Points: 25

using wpf c#

Raj.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Rajkatie
Rajkatie  
Posted on: 6/22/2012 7:21:22 AM
Level: Silver | Status: [Member] | Points: 25

Please try following way
<script type="text/javascript">

function imageClick(url)
{
window.location = url;
}
</script>


<input class="imageGo" src="images/go.gif" ondblclick="imageClick("your url") runat="server" type="image">

Rajesh Patel
MCPD,MS
Brainbench (Asp.Net 4.0 and CSS 3.0)

Raj.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Raj.Net
Raj.Net  
Posted on: 6/22/2012 7:35:44 AM
Level: Starter | Status: [Member] | Points: 25

hi sir understand bt i am ask in wpf c# code pls help me

Raj.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Ranjeet_8
Ranjeet_8  
Posted on: 6/29/2012 5:28:33 AM
Level: Gold | Status: [Member] | Points: 25

Raj.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muralidosscm
Muralidosscm  
Posted on: 7/4/2012 2:26:47 AM
Level: Starter | Status: [Member] | Points: 25

<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/mapping.gif" PostBackUrl="~/secure/IMS/Default.aspx" />



Regards
Muralidoss M

Raj.Net, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 11:17:58 PM