top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can we share a view across multiple controllers in MVC ?

+3 votes
1,016 views
Can we share a view across multiple controllers in MVC ?
posted Sep 3, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Yes, It is possible to share a view across multiple controllers by putting a view into the shared folder.
By doing like this, you can automatically make the view available across multiple controllers.

1 Answer

+1 vote

Yes, It is possible to share a view across multiple controllers by putting a view into the shared folder. By doing like this, you can automatically make the view available across multiple controllers.

answer Sep 4, 2015 by Manikandan J
Similar Questions
+4 votes

When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

...