MVC4 dynamically changing master layout page doesn't work on first load
Posted
by
Kelvin
on Stack Overflow
See other posts from Stack Overflow
or by Kelvin
Published on 2012-11-07T04:54:05Z
Indexed on
2012/11/18
23:02 UTC
Read the original article
Hit count: 393
I have an MVC4 mobile project that I want to add a desktop (non mobile) page to for some users.
I have added a new desktop master page and assigned my view to use it.
The first time I navigate to the page it renders using jquerymobile which appears to somehow be cached from the previous screen.
If I hit F5
to refresh
the page it displays using the assigned desktop masterpage correctly.
Can anyone tell me how to fix this? Any insight appreciated
© Stack Overflow or respective owner