WHAT IS THE USE OF DISPLAY MODES?

Kamlakar Singh

Total Post:80

Points:400
Posted by  Kamlakar Singh
 1026  View(s)
Ratings:
Rate this:
  1. Kamlakar Singh

    Post:80

    Points:400
    What is the use of Display Modes?

    §  View can be changed automatically based on browser(For mobile and desktop browser’s)

    Display Modes is newly added feature in ASP.NET MVC 4. Views selected automatically by application depending on the browser. Example: If a desktop browser requests login page of an application it will return Views\Account\Login.cshtml view & if a mobile browser requests home page it will return Views\Account\Login.mobile.cshtml view.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!