TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maharudra Gadekar
1.4k
367
81.6k
Can i add layout designed related css Or JS in Bundlconfig?
Aug 31 2016 7:33 AM
I am adding all layout design related .css or .JS file in "bundleconfig.cs".... or creating new Jquery function file(.js)....it also added in 'Bundleconfig.cs' but not in work........can i add config file to layout design related......
....................My below code...................
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js",
"~/Scripts/AllJqueryFunction.js"
));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*"));
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js"
));
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css"
"~/content/assets/libs/jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css",
"~/content/assets/libs/bootstrap/css/bootstrap.min.css",
"~/content/assets/libs/font-awesome/css/font-awesome.min.css",
"~/content/assets/libs/fontello/css/fontello.css",
"~/content/assets/libs/animate-css/animate.min.css",
"~/content/assets/libs/nifty-modal/css/component.css",
"~/content/assets/libs/magnific-popup/magnific-popup.css",
"~/content/assets/libs/ios7-switch/ios7-switch.css",
"~/content/assets/libs/pace/pace.css",
"~/content/assets/libs/sortable/sortable-theme-bootstrap.css",
"~/content/assets/libs/bootstrap-datepicker/css/datepicker.css",
"~/content/assets/libs/prettify/github.css",
"~/content/assets/libs/rickshaw/rickshaw.min.css",
"~/content/assets/libs/morrischart/morris.css",
"~/content/assets/libs/jquery-jvectormap/css/jquery-jvectormap-1.2.2.css",
"~/content/assets/libs/jquery-clock/clock.css",
"~/content/assets/libs/bootstrap-calendar/css/bic_calendar.css",
"~/content/assets/libs/sortable/sortable-theme-bootstrap.css",
"~/content/assets/libs/jquery-weather/simpleweather.css",
"~/content/assets/libs/bootstrap-xeditable/css/bootstrap-editable.css",
"~/content/assets/css/style.css",
"~/content/assets/css/style-responsive.css"
));
BundleTable.EnableOptimizations = true;
}
}
}
help me....Thanks in advance........
Reply
Answers (
4
)
Capture image and save using asp.net web app
showModalDialog in Edge Broser