I have a controller that returns the view using MVC4 however for this specific view I don’t want it to use the master layout I have in place. Is this possible to achieve?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
put
on the top of your view file. You can also provide path to any other layout file.
you can also change your return statement in given action to
so it will not attempt to wrap result of your action with layout file