I am using using Visual Studio 2017 and create MVC program using Bootstrap Metro Dashboard, but I can not display icon such : btn-setting, btn-minimize, btn-close, btn-success, btn-info, dan btn-danger.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
But when I applied to ASP.NET MVC Visual Studio 2017, It does not work. Finally, I know the problem, I must define Layout = "~/Views/Shared/MasterLayout.cshtml"; in order to work on ASP.NET MVC
Member
22 Points
75 Posts
How to display icon using Bootstrap Metro Dashboard
Feb 14, 2019 09:33 AM|Sentoso|LINK
Hi,
I am using using Visual Studio 2017 and create MVC program using Bootstrap Metro Dashboard, but I can not display icon such : btn-setting, btn-minimize, btn-close, btn-success, btn-info, dan btn-danger.
Does anyone know how to display the icons from the above code ?
Thank you.
Regards,
Sentoso
Participant
1861 Points
2836 Posts
Re: How to display icon using Bootstrap Metro Dashboard
Feb 14, 2019 02:39 PM|EnenDaveyBoy|LINK
i am guessing by the prefix that the btn class are all for buttons
try
<button class="btn btn-success>click here</button>
Contributor
3710 Points
1431 Posts
Re: How to display icon using Bootstrap Metro Dashboard
Feb 15, 2019 06:44 AM|Yuki Tao|LINK
Hi Sentoso,
According to your problem,I guess you may be missing a CSS reference package:
You could refer to this demo:
How it work:
Best Regards.
Yuki Tao
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
22 Points
75 Posts
Re: How to display icon using Bootstrap Metro Dashboard
Feb 15, 2019 09:07 AM|Sentoso|LINK
Hi Yuki Tao,
Thanks for your suggestion, I have tried in html file, like the code below it works perfectly.
But when I applied to ASP.NET MVC Visual Studio 2017, It does not work. Finally, I know the problem, I must define Layout = "~/Views/Shared/MasterLayout.cshtml"; in order to work on ASP.NET MVC