Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to change masterpage via button click

$
0
0

Hi, I'm looking to have a user control in my masterpage with a button that user can click to access mobile version of the site. 

The code will need to change the masterurl property for all subsequent visits. Until the user selects desktop version again. What is the best way of accomplishing this task?

This is for a publishing site with anonymous access enabled.

Thanks.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>