Ms Ajax Bundle

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

'MsAjaxBundle' is not a valid script name.

The name must end in


'.js'.

Remove / disabale MsAjaxBundle at SiteMaster

<asp:ScriptManager runat="server">
<Scripts>
<%--Framework Scripts--%>
<%--<asp:ScriptReference Name="MsAjaxBundle" />--%>
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="jquery.ui.combined" />
</Scripts>
</asp:ScriptManager>

Jquery Not working with masterpage

Edit

<script type="text/javascript" src="/full/path/to/jquery.js"></script>

to

<script type="text/javascript" src= "<%= ResolveUrl("~/Scripts/jquery-1.9.1.js")


%>"></script>

Edit

Javascript selector
$("#btnGetData).click(function () {

To
$("#<% = btnGetData.ClientID %>").click(function () {
Change

Javascript selector to class type

Script code :
$("#progressbar").progressbar({ value: 0 });

HTML Code :

<div id="progressbar"></div>

To

Script code :
$("#progressbar").progressbar({ value: 0 });

HTML Code :

<div id="progressbar"></div>

You might also like