For those of you who don’t know, when you want to see how a page (with a web part, in this case) looks in a mobile device, all you do is, after the full url, type in the querystring ‘?mobile=1′.
But – just in case you think that you can create a Visual Web Part in SharePoint 2010 and have it magically appear correctly in mobile mode, you need to know that there is a very good chance that it might not work.
In that case, what you need to do is to build what Microsoft calls a Mobile Adapter. Basically, that’s just a dll, with pure code that builds a new web part that’s viewable in mobile mode. Most anyone who has built custom web parts in previous versions of SharePoint will not be unfamiliar with this type of development.
For more information on how to build one of these mobile adapters, you can go here:
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF