Jquery error, Object does not support property or method.

I have two laptops with Visual Studio 2010 on them. I have a small asp.new web project on both machines that use the very same code. On one machine the code works perfectly with a popup calendar control. However on the other laprop when I run the application, I get a dialog box giving me the following error message : "Error: Object doesn't support property or method 'date' picker". I have spent a few hours trying to figure out what is wrong here, and I can't figure out why the code does not work on the other laptop. Can someone try this code out, and let me know if you are getting the same error message about the JQuery? I have attached a master page where the JQuery code is defined. Below is an asp.net page that has the textbox control used for the popup calendar.


<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

                <asp:TextBox ID="txtContactDate" runat="server" class="textfield" Width="134px" 
                    style="margin-left: 0px; margin-bottom: 0px;"></asp:TextBox>
    <h2>
        Welcome to ASP.NET!
    </h2>
    <p>
        To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
    </p>
    <p>
        You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&amp;clcid=0x409"
            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
    </p>
</asp:Content>

Open in new window

MasterPage.txt
LVL 2
brgdotnetcontractorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
Q1. Have you tried clean the solution and then rebuilt it on the affected machine?
Q2. Could you provide both machine OS, IIS and .NET framework installed on them and if they both have the same windows updates installed?

Most of the time this issue is due to difference between operating system on the machine or your VS studio project referring to an old version of the library (which a clean rebuild may fix) or a third party library not installed in your computer.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.