473,729 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Client Side Script Problem

Hi all,
I have a peculiar problem. After migrating my existing asp.net
2003 project to 2005 my project works fine without any problem. The
moment i thought of debugging it i came to face this peculiar problem
which is as follows.

when i run the project by typing the URL dirctly in the browser i can
see the following line in the view source:

<script src="/aspnet_client/system_web/2_0_50727/WebUIValidation .js"

Bu when i tried to run directly from the VS.NET 2005 IDE this line is
not getting included. can anyone help me out to solve this problem.

Thanks ,
Shiva.

Jan 4 '06 #1
3 1673
Is the URL that you type directly in the browser exactly the same as the one
that the VS IDE uses (I would double check this)? Also, I would double check
your code for syntax errors, if the code you are being shown is

<script src="/aspnet_client/system_web/2_0_50727/WebUIValidation .js"

then you might want to add the closing ></script> in case this
is causing it to show the code (why it would show it in one scenario and not
the other, I don't know, but you would need to fix it either way). Also,
when it shows the code, does it display any errors along with it? If it
does, take a look at them to see if they help you in any way. I can't really
give any more suggestions without any more info, so good luck, if these
don't fix the problem try posting back with the results to my suggestions.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"comzy" <co******@gmail .com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...
Hi all,
I have a peculiar problem. After migrating my existing asp.net
2003 project to 2005 my project works fine without any problem. The
moment i thought of debugging it i came to face this peculiar problem
which is as follows.

when i run the project by typing the URL dirctly in the browser i can
see the following line in the view source:

<script src="/aspnet_client/system_web/2_0_50727/WebUIValidation .js"

Bu when i tried to run directly from the VS.NET 2005 IDE this line is
not getting included. can anyone help me out to solve this problem.

Thanks ,
Shiva.

Jan 5 '06 #2
Dear Nathan,
Thanx for your reply. I gave the script for just a
reference. Am working as a System Architect and i have tried my all
possibilities. To be precise the WebUIValidation .js is getting
included when called from IIS by hitting the URL in the browser but
when i just directly run from the VS.NET 2005 IDE it is not including
the file and the it shows the error when it encounters the javascript
function which i have included in WebUIValidation .js file which
Microsoft has added them till V1.1 and i know now they are not
including the script in v2.0 instead they are referencing through
WebResource.axd handler.

My only question is why WebUIValidation .js is not getting included when
i run directly from the VS.NET 2005 IDE? Is there any common way for me
to include it? Hope you got my question.

Regards,
Shiva.

Jan 5 '06 #3
Ok, it sounds like I wouldn't be able to help much there, since I have never
actually used VS2005 or .NET 2.0, so I think you will have to wait for
someone with more experience using those versions. Sorry I couldn't help
more. Good Luck!
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/

"comzy" <co******@gmail .com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Dear Nathan,
Thanx for your reply. I gave the script for just a
reference. Am working as a System Architect and i have tried my all
possibilities. To be precise the WebUIValidation .js is getting
included when called from IIS by hitting the URL in the browser but
when i just directly run from the VS.NET 2005 IDE it is not including
the file and the it shows the error when it encounters the javascript
function which i have included in WebUIValidation .js file which
Microsoft has added them till V1.1 and i know now they are not
including the script in v2.0 instead they are referencing through
WebResource.axd handler.

My only question is why WebUIValidation .js is not getting included when
i run directly from the VS.NET 2005 IDE? Is there any common way for me
to include it? Hope you got my question.

Regards,
Shiva.

Jan 5 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4338
by: Kathryn | last post by:
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve is this - - Page loads up and some server side vbscript reads the database and populates a listbox on the page with the first field from each record in the recordset. This works fine. - User selects an option on the listbox and, using the OnChange, I
3
2669
by: Mick Turner | last post by:
I have connected to SQL Server database (server-side vbscript) and read some data from the tables. This works correctly. I now have the data in an array (server-side). I have to draw a line-chart based on that data, for which purpose I need to create client-side component (this works also perfectly). PROBLEM: I cannot use the server-side array for drawing the chart. Here's the code shortly:
26
15280
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via "locate.replace". I can do all this if the html page containing the script originates on the client machine, but don't know how to get access to a client-side temp file when the same html page containing the script is on a web host. How do I get access...
1
2333
by: Stephen | last post by:
Hey Everyone, I have a problem with a web application due to the use of both client-side and server side script on the on-click event of a button. The client side script runs first as expected however my problem is that this code runs and brings up a Microsoft Internet Explorer Window telling the user they are going to be charged for the search they are about to do. The user then has to click ok or cancel. My problem with this is that I...
1
2319
by: Stephen | last post by:
Hey All, I have a problem with a web application due to the use of both client-side and server side script on the on-click event of a button. The client side script runs first as expected however my problem is that this code runs and brings up a Microsoft Internet Explorer Window telling the user they are going to be charged for the search they are about to do. The user then has to click ok or cancel. My problem with this is that I need...
8
3682
by: Mike Fellows | last post by:
Ok, im not sure if this is at all possible and if it is how i go about it is beyond me i have a piece of client side code that requires a piece of data from the server side (an ID number in this case) how can i pass the data from one side to the other, or retrieve it from the webform on the client side? i hope ive explained this properly
0
1291
by: Santhosh.A.N | last post by:
Hi, I have a problem to be solved yet. Following is the problem: I have a MSProject saved in SQLServer using ODBC, which automatically generates tables relevant to data. My requirement is to open this project in client machine in MSProject application as read or readwrite file. I tried using "Microsoft Project 9.0 object library" to create an instance in some button click event in server side. It gives the following error: "Call was Rejected...
1
3949
by: Hong Hao | last post by:
Recently, I was trying to modify an existing aspx page when client-side validation on that page stopped working. I searched this group and the web in general and found that other people have had the same issue. However, none of the suggested fixes solved my particular problem. I tracked down the cause of the problem, which is related to aspx page parser's handling of controls inside html comments. The problem may be quite common and well...
7
1610
by: Mike Rand | last post by:
I am having a really hard time trying to get some client side code hooked up in VS2005, ASP 2.0. The code is in an .inc file (vbscript). The first problem I am encountering is the ASP.NET page doesn't like vbscript and throws fits about the syntax. Second, the page throws fits about the server side code tags (<% ... %>),...are these supported anymore? Third, when I set the onclick event of a client side HTML button it does not recognize...
3
1750
by: jesper_lofgren | last post by:
Hello, I have a problem, i have a event in asp.net codebehind file that updating a datasource. If that update went well i want to refresh my treeview thats on another page. The script works well, the problem is.... the client script runs before the updatemethod ! I give u some ex code here...
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.