PC Review


Reply
Thread Tools Rate Thread

Client Side Script Problem

 
 
comzy
Guest
Posts: n/a
 
      4th Jan 2006
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.

 
Reply With Quote
 
 
 
 
Nathan Sokalski
Guest
Posts: n/a
 
      5th Jan 2006
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
(E-Mail Removed)
http://www.nathansokalski.com/

"comzy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
comzy
Guest
Posts: n/a
 
      5th Jan 2006
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.

 
Reply With Quote
 
Nathan Sokalski
Guest
Posts: n/a
 
      5th Jan 2006
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
(E-Mail Removed)
http://www.nathansokalski.com/

"comzy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when generating Client Side Script. John Owens Microsoft C# .NET 2 19th Jul 2005 07:48 PM
Server-side script with input parameter from Client-side script Magnus Blomberg Microsoft ASP .NET 3 14th Apr 2005 01:21 PM
execute client side script + server side code for button click =?Utf-8?B?a2s=?= Microsoft C# .NET 1 17th Mar 2005 12:20 AM
get image side via client side script before file uplaod moondaddy Microsoft ASP .NET 2 16th Jul 2004 05:50 AM
Help Needed!!! client-side script, server-side code Shawn Mehaffie Microsoft ASP .NET 4 22nd Jan 2004 05:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:27 PM.