Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have developed an application page within SharePoint 2010 and need to tweak the contents for the mobile view.

I can determine if the page is a mobile page by using the Query String however i am interested to know if there is somthing within the Object Model that does this parsing for me.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Check following static method:

SPMobileUtility.IsMobilePageRequest

share|improve this answer
    
Thanks Ashish, that's perfect. –  Jon Jan 6 '12 at 8:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.