I added assets files to my mvc project. I can't create a modal. What codes and files do I need to add to my project to open a modal when a link is clicked as soon as possible?
I've been dealing with this job for hours and I'm starting to think that I don't deserve my salary. I would be very happy if you can help :D
Thank you for reaching out to us.
To use our theme you need to load two main js and css files.
Thanks for your help it worked.
I put the files you said in _layout.cstml and run it on my modal page. But what I want to do is to display a view in a modal.
For example, something like this;
<a data-bs-toggle="modal" data-bs-target="#kt_modal_1" href="/Home/Index/@item.ID"></a>
<div class="modal fade" tabindex="-1">
Could you please provide us with more info on what you are trying to achieve?
It sounds like something not standard use case for modal, you can consider handling this on a separate view.
Keenthemes Support Team