Is it possible to share a view across multiple controllers?



Is it possible to share a view across multiple controllers?..

Answer / Krishan Kant

Yes, in ASP.NET MVC, you can achieve this by creating a partial view and then rendering it from different controllers using the `Html.Partial()` or `Html.RenderPartial()` method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

How to Create an Intranet Site Using ASP.NET MVC?

1 Answers  


What is shadowing?

6 Answers   IBM,


What is .net core framework?

1 Answers  


Explain unit test done by tester on development team?

1 Answers  


Is .net framework backwards compatible?

1 Answers  


How do you register the dotnet component or assembly ?

1 Answers   Accenture, BirlaSoft,


Can we change web.config settings from iis?

1 Answers  


What is the mvc pattern (model view controller pattern)?

1 Answers  


what is .edmx file and what it contains?

1 Answers   Microsoft,


will there be any issues adding a table without primary keys to a data model?

1 Answers   Microsoft,


What is difference between constants, readonly and, static

1 Answers  


What is basic authentication in web api?

1 Answers  


Categories