473,805 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to use aspnet_client for js

Hi all
I'm building a composite control for ASP.NET 1.1 that relies on
external javascript (.js) files. I've noticed the Microsoft custom web
controls make use of the C:\Inetpub\wwwr oot\aspnet_clie nt subfolder to
store common javascript files and other include common files. I've
also noticed some third-party control vendors have successfully made
use of this folder by including their own subfolder under
aspnet_client and dumping .js files in there.

I'd like to know if there is a tool that be used to map my includes to
point to this directory so when my control performs a <script
language='javas cript' src='myscript.j s'it resolves to the common
subfolder under aspnet_client.

Is there any documentation on how to do this anywhere?

Thanks.
Jeff

May 27 '07 #1
5 1929
On May 27, 6:21 am, Jeff User <jen1...@hotmai l.comwrote:
Hi all
I'm building a composite control for ASP.NET 1.1 that relies on
external javascript (.js) files. I've noticed the Microsoft custom web
controls make use of the C:\Inetpub\wwwr oot\aspnet_clie nt subfolder to
store common javascript files and other include common files. I've
also noticed some third-party control vendors have successfully made
use of this folder by including their own subfolder under
aspnet_client and dumping .js files in there.

I'd like to know if there is a tool that be used to map my includes to
point to this directory so when my control performs a <script
language='javas cript' src='myscript.j s'it resolves to the common
subfolder under aspnet_client.

Is there any documentation on how to do this anywhere?

Thanks.
Jeff
http://msdn2.microsoft.com/en-us/lib...00(VS.71).aspx

May 27 '07 #2
On May 27, 9:32 am, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On May 27, 6:21 am, Jeff User <jen1...@hotmai l.comwrote:


Hi all
I'm building a composite control for ASP.NET 1.1 that relies on
external javascript (.js) files. I've noticed the Microsoft custom web
controls make use of the C:\Inetpub\wwwr oot\aspnet_clie nt subfolder to
store common javascript files and other include common files. I've
also noticed some third-party control vendors have successfully made
use of this folder by including their own subfolder under
aspnet_client and dumping .js files in there.
I'd like to know if there is a tool that be used to map my includes to
point to this directory so when my control performs a <script
language='javas cript' src='myscript.j s'it resolves to the common
subfolder under aspnet_client.
Is there any documentation on how to do this anywhere?
Thanks.
Jeff

http://msdn2.microsoft.com/en-us/lib...0(VS.71).aspx- Hide quoted text -

- Show quoted text -
Note: In ASP.NET 2.0 you can take advantage of web resources. Web
resources allow resources to be embedded in an assembly and are
retrieved through the web resources handler. The following sample
shows use of an embedded JavaScript file and use of the
Page.ClientScri pt.RegisterClie ntScriptResourc e method.

http://quickstarts.asp.net/QuickStar...nsibility.aspx

May 27 '07 #3
On 27 May 2007 00:39:04 -0700, Alexey Smirnov
<al************ @gmail.comwrote :
>On May 27, 9:32 am, Alexey Smirnov <alexey.smir... @gmail.comwrote :
>On May 27, 6:21 am, Jeff User <jen1...@hotmai l.comwrote:


Hi all
I'm building a composite control for ASP.NET 1.1 that relies on
external javascript (.js) files. I've noticed the Microsoft custom web
controls make use of the C:\Inetpub\wwwr oot\aspnet_clie nt subfolder to
store common javascript files and other include common files. I've
also noticed some third-party control vendors have successfully made
use of this folder by including their own subfolder under
aspnet_client and dumping .js files in there.
I'd like to know if there is a tool that be used to map my includes to
point to this directory so when my control performs a <script
language='javas cript' src='myscript.j s'it resolves to the common
subfolder under aspnet_client.
Is there any documentation on how to do this anywhere?
Thanks.
Jeff

http://msdn2.microsoft.com/en-us/lib...0(VS.71).aspx- Hide quoted text -

- Show quoted text -

Note: In ASP.NET 2.0 you can take advantage of web resources. Web
resources allow resources to be embedded in an assembly and are
retrieved through the web resources handler. The following sample
shows use of an embedded JavaScript file and use of the
Page.ClientScr ipt.RegisterCli entScriptResour ce method.

http://quickstarts.asp.net/QuickStar...nsibility.aspx
Thanks
Unfortunately, 2.0 is not an option at this time.

jeff
May 28 '07 #4
"Jeff User" <je*****@hotmai l.comwrote in message
news:v1******** *************** *********@4ax.c om...
Unfortunately, 2.0 is not an option at this time.
Hmm - things evolve, new versions appear...

2.0 was released over 18 months ago...

3.0 is already out (OK, it's not really an upgrade, more of an extension,
but still...)

3.5 is already in beta...

Either you keep up, or you fall behind...
--
http://www.markrae.net

May 28 '07 #5
On May 28, 11:23 pm, Jeff User <jen1...@hotmai l.comwrote:
On 27 May 2007 00:39:04 -0700, Alexey Smirnov

<alexey.smir... @gmail.comwrote :
On May 27, 9:32 am, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On May 27, 6:21 am, Jeff User <jen1...@hotmai l.comwrote:
Hi all
I'm building a composite control for ASP.NET 1.1 that relies on
external javascript (.js) files. I've noticed the Microsoft custom web
controls make use of the C:\Inetpub\wwwr oot\aspnet_clie nt subfolder to
store common javascript files and other include common files. I've
also noticed some third-party control vendors have successfully made
use of this folder by including their own subfolder under
aspnet_client and dumping .js files in there.
I'd like to know if there is a tool that be used to map my includes to
point to this directory so when my control performs a <script
language='javas cript' src='myscript.j s'it resolves to the common
subfolder under aspnet_client.
Is there any documentation on how to do this anywhere?
Thanks.
Jeff
>http://msdn2.microsoft.com/en-us/lib....71).aspx-Hide quoted text -
- Show quoted text -
Note: In ASP.NET 2.0 you can take advantage of web resources. Web
resources allow resources to be embedded in an assembly and are
retrieved through the web resources handler. The following sample
shows use of an embedded JavaScript file and use of the
Page.ClientScri pt.RegisterClie ntScriptResourc e method.
http://quickstarts.asp.net/QuickStar...nsibility.aspx

Thanks
Unfortunately, 2.0 is not an option at this time.

jeff- Hide quoted text -

- Show quoted text -
well, then read the article from my first answer

May 29 '07 #6

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

Similar topics

1
1997
by: Bob | last post by:
I noticed recently that a directory called \aspnet_client is being created in all of my existing IIS websites. What's that for? How were they created without my acknowledgement? Can I get rid of them?
1
3370
by: HB2 | last post by:
Can someone explain what this folder is? Do ASP pages get stored in this folder? Thanks
3
3560
by: Art Thomas | last post by:
We are using our own custom JavaScript validation as well as .Net validation. However, when we include our custom validation on a page, ..NET does not render/write the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the page. If we do not include our own custom JavaScript validation, .NET DOES render/write the '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js' path on the page. I would like to make sure the...
7
6589
by: Matthew Louden | last post by:
I created an ASP.NET web application. I added a TextBox and a RequiredFieldValidator control, and set the ControlToValidate property of RequiredFieldValidator control to be TextBox1. After I built and run the application, it pops up an error dialog as follows: unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c' any ideas??...
2
649
by: MurrayTh | last post by:
Instead of having a copy of the aspnet_client folder in each site's files on a machine, can a virtual directory/application be made with each site's root in IIS to the machine's c:\inetpub\wwwroot\aspnet_client folder? Would this create security issues? If it is OK to do this, should it be a virtual directory or virtual application?
2
2616
by: Ken Baltrinic | last post by:
Don't ask my why we need to do this, I didn't write the website policy :( , but we are deploying to a website where we cannot place any directories directly off web root (i.e. aspnet_client) and therefore we need to tell all those lovely validation controls that their js files have moved. Is there a setting somewhere that we can change to tell the system where aspnet_client is? This is a urgent deployment issue. --Ken
3
2966
by: Frankie | last post by:
I have a bunch of ASP.NET Web sites on a production server. Until today, some had the aspnet_client folder and some did not. I just ran aspnet_regiis -i as part of a troubleshooting effort and suddenly ALL of the ASP.NET Web sites have the aspnet_client folder (and its sub folders). The sites that previously did not have the aspnet_client folder seemed to work just fine (for a long time). The sites that previously had that folder - well,...
0
1568
by: richard.warner | last post by:
When you run 'aspnet_regiis -c', the aspnet_client directory is created under EVERY web site on the IIS server. It seems strange that there doesn't seem to be any way of running the command so that it only installs the aspnet_client directory under a specified web site or even just the .net web sites on the server. I'm running several production IIS servers that have got a mix of .net and non-.net web sites on them and I don't want the...
1
1550
by: cindy | last post by:
i posted this to dotnet.framework the answer was does file really exist. yes it does then WSS is in way In order to make the full path to the .js file defined as excluded I cannot use / character to define path so do I create virtual directory for aspnet_client in local project is not the asp net application still looking for full path I need help, how does anyone live with WSS and validation for aspnet applications? how do I defined...
0
9596
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
10614
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
9186
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...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5544
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...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
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
2
3847
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.