ASP.Net renders two pages together

I_Hate_Midgets

New Member
This makes no sense to me, and hopefully I can explain this right.I have a basic jQuery Mobile application that uses Asp.Net MVC 4. After logging in to the application, if I click the account button in the upper left, the page loads, but is missing themes. If I then click refresh, everything looks fine.I compared the resulting HTML in Chrome's F12 window. The second page is of course correct. The first page contains all the same HTML, however, an additional div is placed at the start of the body. This div is showing the main application page to my application. It has a data-role of 'page' and is hidden from view. I can only assume jQuery Mobile is only applying a theme to the first data-role 'page' that it finds and is therefore skipping the correct one.Why do I get a different page from clicking on account vs clicking refresh when on the account?
 
Top