Solved

location of WebUIValidation.js

Posted on 2004-04-29
3
351 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
3 Comments
 
LVL 3

Accepted Solution

by:
bradleyland earned 20 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

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