0

I had develop a small jquery-mobile application in telerik MVC3. It is working in local machine and i uplod into my server and tested it works for desktop devices but when I test in Mobile (Iphone) it shows Error Like runtime Error

<!--web.config Cofiguration File-->
<configuration>
  <system.Web>
    <customErrors mode="Off"/>
  </system.Web>
</configuration>

I can't understand why it showing only in mobile device please help me. How can I solve this error.

2
  • <customErrors mode="OfF"/>, maybe is a typo in Off Commented Sep 9, 2011 at 10:39
  • Hi thank you for giving response i have change <customErrors mode="Off"/> but it showing same error.. Commented Sep 9, 2011 at 10:46

1 Answer 1

1

I think you can't see the error page due to the fact that JQueryMobile only shows a small popup with the message "Error loading page".

You can disable Ajax and this way see all html pages as a regular web app would.
Just add this script between Jquery and Jquery mobile script references

<script language="javascript" type="text/javascript">
        $(document).bind("mobileinit", function () {
            $.mobile.ajaxEnabled = false;
        }); 
</script>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.