Solved

location of WebUIValidation.js

Posted on 2004-04-29
3
343 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now