In CSS you can modify your classes when the client (IPhone, ...) changes its orientation
@media only screen and (orientation:portrait)
Is there a way to detect this change in a MVC3 application?
I was searching for request parameters or header values but without success.