•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 401,503 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,330 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 574 | Replies: 0
![]() |
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi, all!
I came across a very strange problem when I used the sample code from the msdn artcile abot ScriptReference class.
I'm building my projects with VS Team System 2008 and the OS is Windows Server 2008 Datacenter x64.
The solution I created is as follows:
- The web code went in a website project deployed on my machine (inetpub\wwwroot\ScriptTest)
- The sample control (.cs and .js files) went in a Class library project (..\Documents\Visual Studio 2008\Projects\ScriptTest\CustomControl)
- I also added a deploy project for the web site (..\Documents\Visual Studio 2008\Projects\ScriptTest\ScriptTest_deploy)
When I did run the solution the resulting web site behaved as expected - showed a calendar control which when clicked did get a green border
Satisfied with the results I decided to test the sample on another machine - Windows 2003 Standard Edition with SP1. I had to install .NET framework v3.5 before proceeding with the test itself. That didn't take long and eventually I copied the output of the deploy project it in a new web application folder (inetpub\wwwroot\...) on the second machine. The new web application used the ASP.NET 2.0 pool, ASP.NET version was also set to 2.0 and read permissions were granted.
When I checked the new deployment with IE 7.0 I once again got the calendar control but when I'd click on it the browser would report an error saying "'BorderAnimation' undefined". All I could come to was that the javascript file (the embedded resource in the class library project) does not register at all or at least not on time. Could anyone help me with a possible solution to that problem.
Thanks in advance
I came across a very strange problem when I used the sample code from the msdn artcile abot ScriptReference class.
I'm building my projects with VS Team System 2008 and the OS is Windows Server 2008 Datacenter x64.
The solution I created is as follows:
- The web code went in a website project deployed on my machine (inetpub\wwwroot\ScriptTest)
- The sample control (.cs and .js files) went in a Class library project (..\Documents\Visual Studio 2008\Projects\ScriptTest\CustomControl)
- I also added a deploy project for the web site (..\Documents\Visual Studio 2008\Projects\ScriptTest\ScriptTest_deploy)
When I did run the solution the resulting web site behaved as expected - showed a calendar control which when clicked did get a green border
Satisfied with the results I decided to test the sample on another machine - Windows 2003 Standard Edition with SP1. I had to install .NET framework v3.5 before proceeding with the test itself. That didn't take long and eventually I copied the output of the deploy project it in a new web application folder (inetpub\wwwroot\...) on the second machine. The new web application used the ASP.NET 2.0 pool, ASP.NET version was also set to 2.0 and read permissions were granted.
When I checked the new deployment with IE 7.0 I once again got the calendar control but when I'd click on it the browser would report an error saying "'BorderAnimation' undefined". All I could come to was that the javascript file (the embedded resource in the class library project) does not register at all or at least not on time. Could anyone help me with a possible solution to that problem.
Thanks in advance
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- asynchronous dropdownlist any idea (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Global.asax problem
- Next Thread: Some AI projects...


Linear Mode