A simple mailto: also fires postback on .net. How to prevent the postback?

It is firing postback because it is in Anchor so when you click on it try to find href link. You can use javascript or jquery to solve this problem.

Up vote 0 down vote favorite share g+ share fb share tw.

I've got a simple link test@email.com" rel="nofollow">email.com Problem is in an asp.net" rel="nofollow">asp.net page when using Internet Explorer 8 clicking on the link not only opens the email client but also navigates the url to mailto:test@email.com" rel="nofollow">email.com i've tried adding onclick="return false;" however this prevents the mailto: from firing at all. So nothing happens in this case. I think the problem comes from a scriptmanager on the same page (which I kindof need) again this only happens with IE.

I havn't tested with previous versions of IE . But opera, ff, and chrome work just fine just a quick edit. If i'm uisng a simple html page with IE8.

It works just fine Any ideas how to fix this? .net URL2 mailto dopostback link|improve this question asked May 16 '11 at 23:04robert343110 58% accept rate.

– Nix May 16 '11 at 23:12 you have not replied. – jams May 16 '11 at 23:49 Members email – robert May 17 '11 at 1:12.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions