Click here to Skip to main content
16,012,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to add metro UI in my MVC5 project and 90% configure it but when i am trying to add datetimepicker in the text box like http://metroui.org.ua/datepicker.html[^]
but it is not work .

Please help me
thank you in advance
Posted
Updated 24-Sep-14 19:38pm
v2
Comments
Sinisa Hajnal 25-Sep-14 2:13am    
not working how? You get an error? It doesn't show? It shows, but you cannot select anything? You'll have to add more detailed explanation
Gerhard_Louis 28-Sep-14 5:19am    
lol agree with you.the missing 10% are either people don't read the developer guidelines or are too lazy to sit and work through problems
Developer Rahul Sharma 25-Sep-14 2:28am    
i want to add metro ui in mvc5 . it is totally my question .

thank you for ur solutions . but i am already configure it .
 
Share this answer
 
Install the Metro-UI-CSS package from nuget.Add @Styles.Render("~/Content/metro-ui/css") in the of your _Layout.cshtml view.
Add @Scripts.Render("~/bundles/metro-ui") after jQuery in your _Layout.cshtml view.
You will have to delete the default @Styles.Render("~/bundles/css") as well as the
@Scripts.Render("~/bundles/bootstrap") and add the metro class in your body eg .

To use the widgets like datetime picker you will have to download the zip file from metroui.org.ua ,extract the contents and copy all the js files into your Scripts
metro -ui folder.

If you delete the bundles/css and bundles/bootstrap your scaffold items like create and delete and so forth wont inherit from the mvc template extensions any more
 
Share this answer
 
Comments
Sinisa Hajnal 29-Sep-14 2:08am    
5+ for understanding the question :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900