?
Solved

location of WebUIValidation.js

Posted on 2004-04-29
3
Medium Priority
?
375 Views
Last Modified: 2008-02-01
In .net, there is a script file - WebUIValidation.js - that is used for form validation at client side. The location of this file is specified in MACHINE.CONFIG. In my case, the value of the path is set to

 <webControls
            clientScriptsLocation="/aspnet_client/{0}/{1}/"

In my case, my web application is not residing in the default wwwroot folder. One solution I have tested is to copy the entire ASP_NET folder to my web folder, but this mean in the future I will have a lot of this ASP_NET folders for various web application in the server, which I DO NOT want.

Is there a way to specify a ABSOLUTE path rather than a relative path for this setting, so that I can keep just one copy of ASP_NET folder as specified in MACHINE.CONFIG.

Thank



0
Comment
Question by:shawaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
bradleyland earned 80 total points
ID: 10964351
You can always create a virtual directory in IIS. Open the IIS control panel, right click the web site you want to add the aspnet_client folder too, choose New, Virtual Directory..., for alias type aspnet_client, then browse to the location of the aspnet_client folder in your wwwroot foler. Now you'll only have one copy on your machine, but you'll be able to access the contents in any website where you setup the virtual directory.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question