私は何が間違っているのですか?......
jquery.maskedinput-1.3.min.jsをバンドルスクリプトに登録しているのは、他のいくつかのスクリプトを登録しているのとまったく同じ方法ですが、何らかの理由で、このスクリプトのバンドルは単純に機能しません...
私は次のバンドル登録で試しました同じ結果:
bundles.Add(new ScriptBundle("~/bundles/jquery.maskedinput").Include(
"~/Scripts/jquery.maskedinput-{version}.js"
));
bundles.Add(new ScriptBundle("~/bundles/jquery.maskedinput").Include(
"~/Scripts/jquery.maskedinput.js"
));
bundles.Add(new ScriptBundle("~/bundles/jquery.maskedinput").Include(
"~/Scripts/jquery.maskedinput.min.js"
));
bundles.Add(new ScriptBundle("~/bundles/jquery.maskedinput").Include(
"~/Scripts/jquery.maskedinput-{version}.min.js"
));
bundles.Add(new ScriptBundle("~/bundles/jquery.maskedinput").Include(
"~/Scripts/jquery.maskedinput-1.3.min.js"
));
これはレンダリングされたHTMLです
<script src="/bundles/jquery.maskedinput?v=" type="text/javascript"></script>
しかし、私のバンドルは空です
これは私の登録ですMasterPage
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="true">
<Scripts>
<%--Framework Scripts--%>
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="jquery.ui.combined" />
<asp:ScriptReference Name="WebForms.js" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<asp:ScriptReference Path="~/bundles/jquery.validation" />
<asp:ScriptReference Path="~/bundles/jquery.maskedinput" />
<%--Site Scripts--%>
</Scripts>
</ajaxToolkit:ToolkitScriptManager>
これは、VisualStudio2012でのスクリプトのスクリーンショットです。
どうしたの??わからない