0
我有ASP.Net MVC 4互聯網應用程序,我正在使用'redmond'jQuery UI。我試圖在 http://jqueryuihelpers.apphb.com/Docmo/GettingStartedjQuery UI與MVC 4
建議的所有步驟仍只,對話和框架圖標在UI主題可見的所有其他控件都在正常的主題。
我複製了〜/ Content/themes文件夾中的redmond文件夾。 複製〜/ scripts文件夾中的.js文件。
添加以下束在BundleConfig.cs,
bundles.add(new stylebundle("~/content/themes/base/css").include(
"~/content/themes/redmond/jquery-ui-1.9.2.custom.css",
"~/content/themes/redmond/jquery-ui-1.9.2.custom.min.css"));
添加以下
MVC 4應用中的Site.Master參考,<link href="<%: Url.Content("~/Content/themes/redmond/jquery-ui-1.9.2.custom.css") %>" type="text/css" rel="stylesheet" />
我試圖在Razor視圖引擎使用jQuery UI以及就像在ASPX(C#)視圖引擎中一樣,它們都只顯示jQuery UI主題中的對話框和框架圖標,所有其他控件(如按鈕和手風琴等)都不在jQuery UI主題中。
任何猜測,可能發生了什麼?