Hi.... Am very new in asp.net mvc. I want to create a user control in asp.net mvc. I had created it but I did not able to refrence it in my views. Please help me! Thanks.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Hi everyone in this article I’m explaining about Scaffolding with Asp.net mvc.
https://www.mindstick.com/articles/1656/asp-dot-net-mvc-scaffolding
You can write down following code in view where you want to access user control.
Where UserControl1 is name of usercontrol which is created under View/Shared directory.
Thanks.