Topic: How to add these items into MVC?
Expected behavior want this on a view page: https://mdbootstrap.com/snippets/jquery/ascensus/390634#css-tab-view
Actual behavior nothing happens
Resources (screenshots, code snippets etc.) copied the javascript and css directly into the mvc shared layout page, but it needs to be on a view page. Currently not able to integrate MDB at all into mvc. have all of the js, css installed but its not found in the project
should be very simple. want that above item to be on an index page, thanks for any ideas!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.5.1
- Device: pc
- Browser: chrome
- OS: win 10
- Provided sample code: No
- Provided link: Yes
ramburn commented 4 years ago
Are there any videos that cover how to add these into a project?
tried the cdnjs add in? nothing happens are there other .js files that have to be added?
Sebastian Kaczmarek staff pro premium commented 4 years ago
Hi @ramburn MVC is a very broad term. What exact technology are you using and how does your project look like (I mean directory structure)?
ramburn commented 4 years ago
well i typed out an answer but dont see it... ugh.
this is mvc 4.7 older original kind. C# and uses bootstrap 4.41 per the mvc install guide I saw on the MDB site. I installed the mdb css and .js into the BundleConfig and it runs without errors, i use a navbar, on F12 in chrome it has no errors, the js and css can be found.
but what else is needed to make this item compile and run in my project? thanks
ramburn commented 4 years ago
You asked dir structure, right now its a new project. Model is empty. controller is just return actionresult view, no logic, the view is what comes auto generated with a new project.
It was the old 4.7 as mentioned, no web api selected, so far does not have any user authentication added in (but need to)
its mostly a 4.7 asp.net web app with mvc as the format. I dropped in the mdb css and js files per the guide for mvc use on your site? and changed the shared Layout page also based on the guide. the project is mostly just new.
I wanted to use some web templates but they say no, am not allowed to access them, PRO users only? but we just bought the PRO version. so am trying to fit things in one by one, thanks for any ideas
ramburn commented 4 years ago
Hi, still have the same problem, any ideas?
Mikołaj Smoleński staff commented 4 years ago
Did you try to use this tutorial? https://mdbootstrap.com/docs/standard/integrations/admin-dashboard-net-aspnet/
Keep in mind that we're not responsible for third-party framework integrations. All we could do was prepare a dedicated integration guide as we did for ASP.NET 3.
Keep coding, Mikołaj from MDB