Click here to Skip to main content
15,887,288 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to change the GUI of my project. I am using ready-made bootstrap templates as I am not a good designer. I have my own back-end code but I like some .html pages from those template. I am not able to add it as a view to that controller.
Posted
Updated 28-Sep-15 0:00am
v2

1 solution

Change the extension of the file to cshtml then add the relevant razor code as needed.
 
Share this answer
 
Comments
Member 11922776 28-Sep-15 6:19am    
whole code is in tags its giving an errors.
its giving error like => The resource cannot be found.

and what to do if want to use c# code into view like,

@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)

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