iPhone not triggering mobile page

Norman L. Kleinberg's Avatar

Norman L. Kleinberg

31 May, 2013 10:45 PM

I have a very strange situation. I am developing an ASP.NET MVC4 (Razor) app in VS2012. I have started to add mobile views (e.g. index.mobile.cshtml) with jQuery mobile and am using a trial of your simulator to test things locally (iPhone). All was going well; when I "Start without debugging" (because it's faster), your simulator would come up with the mobile version of my Home/Index view. I need to test using https so I would then go into the address bar and change the URL (say, from http://localhost:49335 to https://localhost:44300). Then I'd hit enter, the mobile index page would be redisplayed and I'd go on my merry way testing an OpenID login and other pages. All of a sudden (and I know you've heard this many times before) something strange started happening: when I ran without debugging the mobile Home/index page would be displayed in your emulator as before; HOWEVER, when I went in to change the URL to a secure one and hit Enter, the DESKTOP version of Home/Index was displayed. I'm running in a VM and tried restarting, etc., but no matter what I did I'd continue to get this behavior of the Desktop version of my Home/Index being displayed when I attempted to change the URL. OK, strange but maybe there's an explanation; HOWEVER, I installed your trial in another VM which was running VS2012, opened the same project and repeated the experiment and in THAT VM your iPhone emulator CONTINUED to show the mobile version of my pages, even after changing the URL. I can't imagine what could be happening but I'm reluctant to spring for a full version unless and until I can figure out what's going on. Any assistance would be appreciated.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Jun, 2022 03:05 PM
02 Nov, 2021 04:52 AM
16 Oct, 2021 02:38 PM
06 Oct, 2021 05:12 AM
20 Sep, 2021 04:14 PM