jQuery UI Widgets › Forums › Plugins › Response › Problems with MVC 5
Tagged: MVC 5
This topic contains 1 reply, has 1 voice, and was last updated by Tony 9 years, 1 month ago.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorProblems with MVC 5 Posts
-
I'd like to use jqwidgets with MVC 5 of Visual Studio 2015 (before long period I was working with Web Forms only). For installation jqwidgets (version 3.60 for mvc and jqwidgets framework version 3.82) I used NuGets. After Instalation I see JQWidgets in folder Content, in folder jqwidgets, in folder Scripts. Because I need in menu I use jqwidgets test text: <head> <meta charset="utf-8" /> <title>@ViewBag.Title - Matrix Industrial and Technological Revolution</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="~/Content/JQWidgets/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="~/jqwidgets/styles/jqx.custom.css" type="text/css" /> @section scripts { <script type="text/javascript" src="~/Scripts/jquery-2.1.4.min.js"></script> <script type="text/javascript" src="~/Scripts/demos.js"></script> <script type="text/javascript" src="~/jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="~/jqwidgets/jqxbuttons.js"></script> <script type="text/javascript"> $(document).ready(function () { // Set the button's theme. $("#jqxButton").jqxButton({ theme: "custom" }); }); </script> } @Styles.Render("~/jqwidgets/styles/jqx.base.css") @Styles.Render("~/jqwidgets/styles/jqx.custom.css") @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <input type="button" value="Button" id="jqxButton"/> @* 50 px, шрифт 18 px, hight 20 px, возможно image 25- 30 px*@ <a> <img alt="Matrix" src="~/Content/images/Matrix.gif" /> </a> @Html.ActionLink("Matrix", "Index", "Home", new {area = ""}, new {@class = "navbar-brand"}) </div> <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> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li>@Html.ActionLink("Home", "Index", "Home")</li> <li>@Html.ActionLink("Products", "Index", "Products")</li> <li>@Html.ActionLink("Features", "Index", "Features")</li> <li>@Html.ActionLink("About", "About", "Home")</li> <li>@Html.ActionLink("Contact", "Contact", "Home")</li> @Html.Partial("_LoginPartial") </div> </div> </div> <div class="container body-content"> @RenderBody() <hr /> <footer> <p>© @DateTime.Now.Year - My ASP.NET Application</p> </footer> </div> @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false) </body> </html> And my custom theme don't work. What is wrong? Best Regards
I solved this problem. Problem in NuGet … the best variant use manual installation
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.