Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6061589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:57:16+00:00 2026-05-23T08:57:16+00:00

I have an ASP MVC3 application that runs fine (in VS 2010 debug) in

  • 0

I have an ASP MVC3 application that runs fine (in VS 2010 debug) in FireFox 4 but when I run the app in IE8 I get a bunch of JScript error in jquery-1.5.1 and jquery.validate.unobtrusive.

In my _SiteLayout.cshtml I am including the JavaScript like this:

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>     
<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/QMSCommon.js")" type="text/javascript"></script>  

…

<!--bottom of layout page - just before /body -->
@(Html.Telerik().ScriptRegistrar().jQuery(false).DefaultGroup(group => group.Combined(true).Compress(true))) 

When I run this app in IE8 I get “Microsoft JScript runtime error: ‘undefined’ is null or not an object” in jquery.validate.unobtrusive.min.js right away. If I continue I get “Microsoft JScript runtime error: Object doesn’t support this property or method” in JQuery-1-5-1.

Am I including the correct JS file – is the order correct (or significant)?

UPDATE:

I have isolated the problem to my Javascript (in QMSCommon.js). The entire contents of that file is here:

$(document).ready(function () {
    //Make fields set to datePicker css class have a datepicker control
        $('.datePicker').datepicker(
            { buttonImage: '/content/images/calendar_edit.png',
              buttonImageOnly: true,
              showOn: 'both'
          }); 
});

If I comment out the datepicker portion my site works in IE8. Do you see anything with this code that IE8 doesn’t like?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:57:17+00:00Added an answer on May 23, 2026 at 8:57 am

    Ok, well this is a little embarrassing. The initial problem was due to the fact that I was not including the jquery-ui script :-). Firefox did not throw an error, IE did, but not at .datepicker rather somewhere deep within jQuery which was throwing me off. Anyway.

    Furthermore I have updated my code to get the JQuery stuff from Google:

    Works great.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have application built on asp.net MVC3. Application runs fine but I see one
I have an ASP.Net MVC 3 application that runs fine when I use the
I have develop small Asp.net MVC3 application using Telerik rad Controls with in that
I'm developing an ASP MVC3 application and I have some views that are related
I'm learning ASP.NET MVC3 and doing an application with CMS capabilities - but have
I am researching security frameworks for an ASP.NET MVC3 application that would have some
I have an ASP MVC3 application that has several HttpPost ActionResult methods. During a
I have to develop an ASP.NET MVC3 application in C# and Razor that has
My application is in Asp.Net MVC3 coded in C#.Net. I have Views which contains
I am developing an MVC3 application using Visual Studio 2010. I have an aspx

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.