You cannot know screen size on server side.. BUT you can know the user agent and then know it is a tablet, PC or smartphone. Then, you are closer to determine which view to display.
As you are using MVC4... it is wise to read this article: http://www.hanselman.com/blog/MakingASwitchableDesktopAndMobileSiteWithASPNETMVC4AndJQueryMobile.aspx
This way, you don't re-invent the wheel... as this behaviour is built in the asp.net MVC framework.