Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1060
VS2013 'Browser Link' Unsupported Pseudo
posted

With Visual Studio 2013 and the infragistics WebDataGrid (2013.2.2028)...

If I try to debug the project when the VS2013 feature called 'Browser Link' is enabled then I get javascript errors and IIS Express has a tendency to ramp up to 100% CPU and stay there. 

In my project I have this html created as part of the grid:

<div class="ig_Header igdw_HeaderArea" id="x:590945947.0:obj:header" style="color: black; overflow: hidden;" obj="header">

Browser Link is using jquery to find this element based on id. JQuery fails with an 'unsupported pseudo' error if you try to find an element by id that has a colon in. Browser Link then dies.

So - I think browser link has to be switched off if you want to debug in visual studio 2013 - and it's on by default. I'm not sure if this is a Browser Link problem or a jquery problem.

Maybe you guys could go nag Microsoft.

Parents
No Data
Reply
  • 17590
    Offline posted

    Hello jonathanhartesg,

    Thank you for posting in our community.

    The behavior that you are experiencing is a known issue in jQuery, which by design is internally used in the browser Link functionality.  When an element that contains ":" in its id is selected jQuery does not return element. The reason for this issue is jQuery has some predefined pseudo selectors and "x:590945947.0:obj:header" is not a valid selector.

    Since this issue is still not fixed in the latest versions of jQuery what I could currently suggest is to disable Browser Link feature in Visual Studio 2013.

    I hope you find this information helpful.

    Please let me know if you have any additional questions regarding this matter.

Children