none
VS2012 Page Inspector issue in MVC4 with a "map" tag.

    Question

  • Hi all,

    Having an odd issue with the Page Inspector in VS2012 (MVC4 app) when my .cshtml contains a "map" tag.

    For example :

    @{
        ViewBag.Title = "Index";
    }
    <h2>Index</h2>
    <img src="~/Content/bioFrame.jpg" usemap="#myMap" id="myMapImg" />
    <map name="myMap">
        <area shape="rect" coords="127, 154, 157, 274" alt="Area" title="This is an Area" id="Area1" href="#" />
    </map>

    The Page Inspector returns "The page cannot be displayed" and the warning "No mapping data was returned from the server".

    If I remove the <map> section from the code the page inspector behaves as expected.

    Any ideas?


    EDIT: Running Windows 8 if that makes a difference?
    Saturday, January 19, 2013 12:16 PM

All replies