We’ve been working on a mobile version of Litmos using jQtouch which works super nice for iPhone but we have had a few issues getting it cranking on Android browsers.
One of the issue was due to MVC rendering views by default as application/xhtml which resulted in errors in the JQuery and jQTouch libs so we wanted to change the content type output to text/html.
After a wee bit of hunting around we found that you can set the output content type on a per view basis by changing the view page directive to include a ContentType declaration.
eg.
<%@ Page Title=”" Language=”C#” ContentType=”text/html”…..







Comments