Click here to Skip to main content
12,946,164 members (52,573 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have a problem with Link button it is not working in chrome browser,
I have Login page in that i have forgot password link button.
Other than chromebrowser it working fine (clicked on that link it is redirecting to Forgotpage.aspx),but in chrome its not happening(click event is not happening.
Please help me any one...
Thanks Advance....
Posted 10-Jan-13 1:30am
Turbo_23 10-Jan-13 7:34am your code here.
ryanb31 10-Jan-13 8:06am
Chrome has built in webtools. Have you inspected the element to make sure something about it is not getting blocked? For example, by default IE9 will disable links if you are on SSL and your link is pointing to non-ssl site.
BalaMahesh 10-Jan-13 8:12am
protected override void OnPreInit(EventArgs e)

if (Request.UserAgent != null && (Request.UserAgent.IndexOf("AppleWebKit") > 0)) // added for compatibility issues with chrome
this.ClientTarget = "uplevel";



if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
This two ways i done but it is not working'
BalaMahesh 10-Jan-13 8:14am
sorry i didn't get you what you say
ryanb31 10-Jan-13 8:15am
Use chrome's developer tools to see what is happening on the client side. Is it an tag? What is actually getting rendered?
Turbo_23 10-Jan-13 9:54am
is it working is safari ?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

IF you right click on the button in Chrome and choose 'inspect element', you can see the HTML at that point. If you click on the 'sources' tab, you can view and debug javascript. You should not have to do anything for Chrome, your code should just render links that work. I've never written browser specific code in ASP.NET, or in MVC. In the javascript and CSS, yes, but not in C#

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,899
CHill60 3,205
Maciej Los 2,453
Jochen Arndt 1,935
ppolymorphe 1,795

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100