none
asp.net link button does not work in WINDOWS 8 IE 10, Please give me some solution for this issue

    Question

  • All the asp.net link button does not work in IE 10 which came with Windows 8. Please give some suggestion and solution

    Thanks in advance

    Monday, November 05, 2012 10:24 AM

All replies

  • Hi,

    please give link to website.... can't answer without looking at code.


    Rob^_^

    Tuesday, November 06, 2012 8:08 AM
  • fastnaukri.com

    in that click employee

    please see the "Sign Up" and "Click here" links, this links works in other browser and it use to work in IE9, but in IE 10 its not working as its .net asp link button.

    Don't know how to solve the problem. I wish Microsoft should come out with IE 10 fix patches

    Thanks

    Thursday, November 08, 2012 12:35 PM
  • I have the same problem, it's solved for you?

    thanks

    Wednesday, December 05, 2012 10:23 PM
  • I am also having the same issue.  Can someone post the solution for this if they have one?

    My issue is with a link button that is on a user control, which is on a master page.  The link button simply redirects the user to a new page depending on their sign-in status.  The click event currently isn't firing in Windows 8, IE10.

    Sunday, January 06, 2013 7:59 AM
  • @etxe and @spgmhs

    Please supply links to your websites for us to debug. Or f12>Validate>HTML

    @Faruk.... I cant see the "Sign up" or "Click here" links.....

    Start by validating your markup... and correcting the errors for unclosed tags (you have specified an xhtml dtd (document type declaration)which means the browser is expecting non-self closing tags to be closed.... markup errors at the start of a page can cause markup errors further down the page.... Web browsers differ in how they correct markup errors...

    http://validator.w3.org/check?verbose=1&uri=http%3a%2f%2ffastnaukri.com%2f

    or

    Display the Developer tool (f12)>Script tab, click "Start Debugging" and then refresh the page

    or

    use the html tab of Developer tools to inspect the markup of the buttons that don't work (which I cannot find on your page)

    asp.net image buttons render as a anchor tag around an image tag....

    the anchor tag should have the following design pattern...

    <a href="#" onclick="_doPostback(etc.......)"><img......../></a>

    to view your page's Links report... f12>View>Link Report or Link Paths

    Ensure you are using the default IE Security settings... Security tab of Internet Options>click "Reset all zones to default"... there is a security setting for Allow Active Scripting (aka javascript). The design patter to determine if a client browser has active scripting enabled is

    <body>

    <noscript><p>Your browser has javascript disabled.</p></noscript>

    the rest of your markup....

    finally if you still can't debug the issue on your own.(and as a last resort, excepting hiring someone else).. add the x-ua meta tag to your page (test by seeing if the links work after you press the Compatibility View button) see Defining Document Compatibility


    Rob^_^

    Monday, January 07, 2013 1:23 AM
  • @etxe and @spgmhs

    Please supply links to your websites for us to debug. Or f12>Validate>HTML

    @Faruk.... I cant see the "Sign up" or "Click here" links.....


    Rob^_^

    The link as per said "fastnaukri.com/employeelogin.aspx" there is "Sign Up" and "Click here" link

    It opens when I click compatible mode in IE 10 but without clicking Compatible mode in browser it does not work, any solution to make it work directly

    Saturday, February 16, 2013 7:40 AM
  • Hi,

    sorry for the delay in getting back....

    ok...

    your right... the links work when I use the Developer tool and change the userAgentString to IE7.. (browser mode=IE7)

    can you post back with your asp.net markup for this block?

    <a class="signup" id="ctl00_ContentPlaceHolder1_lnksignup" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$lnksignup", "", true, "", "employeedetails.aspx", false, true))'>Sign up</a>

    it looks like you are using the wrong design pattern ..... using an asp.net contentplaceholder instead of an asp.net Linkbutton...

    I would expect your server markup to be

    <span class="">Not a member yet?&nbsp;</span><asp:LinkButton runat="server" Text="Sign-up" PostBackUrl="employeedetails.aspx"></asp:LinkButton>
    Looks to me that you can't quite grasp how to use master pages in asp.net


    Rob^_^

    Wednesday, February 20, 2013 2:51 AM