It throws the entire syntax as HTML On my mvc page This message popes up every time I hit save button.I can see my data gets saved successfully into the database,then it loads the view successfully and on top of the actual view it pops up a message with the entire html syntax of the page as html . please help me how to get rid of this error.

<!DOCTYPE html>

<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Index - My ASP.NET Application</title>

<link href="/Content/bootstrap.css" rel="stylesheet"/>

<script src="/Scripts/modernizr-2.6.2.js"></script>

<div class="navbar navbar-inverse navbar-fixed-top">

    <div class="container">

        <div class="navbar-header">

            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>

                <span class="icon-bar"></span>

            </button>

            <a class="navbar-brand" href="/">Application name</a>

        </div>

        <div class="navbar-collapse collapse">

            <ul class="nav navbar-nav">

                <li><a href="/">Home</a></li>

                <li><a href="/Home/About">About</a></li>

                <li><a href="/Home/Contact">Contact</a></li>

            </ul>

            <form action="/Account/LogOff" class="navbar-right" id="logoutForm" method="post"><input name="__RequestVerificationToken" type="hidden" value="l_L2Ltz7nja-ziEI1EG66JS77qTRTdKUeRvc5rnh_-B2JYYg73lPm3MoX0JJqcvYK0GcFcHep_olY3HhRunJECYY6-YUGrtW5f7B3T7McH8jV3i10b7JITIZdtDq1zDV6aGw7E1QzBkdjh3HtKZpDw2" />    <ul class="nav navbar-nav navbar-right">

    <li>

        <a href="/Account/Manage" title="Manage">Hello user!</a>

    </li>

    <li><a href="javascript:document.getElementById('logoutForm').submit()">Log off</a></li>

</ul>

        </div>

    </div>

</div>

<div class="container body-content">

Index

First Name: Last Name: Cancel
    <hr />

    <footer>

        <p>&copy; 2014 - My ASP.NET Application</p>

    </footer>

</div>



<script src="/Scripts/bootstrap.js"></script>
<script src="/Scripts/mymvcscript.js"></script>
{"appName":"Firefox","requestId":"c80b400cb7d048de89222628bba3762c"}

Related posts

Recent Viewed