473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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\wwwroot\aspnet_client 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='javascript' src='myscript.js'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 1911
On May 27, 6:21 am, Jeff User <jen1...@hotmail.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\wwwroot\aspnet_client 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='javascript' src='myscript.js'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...@hotmail.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\wwwroot\aspnet_client 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='javascript' src='myscript.js'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.ClientScript.RegisterClientScriptResource 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...@hotmail.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\wwwroot\aspnet_client 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='javascript' src='myscript.js'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.ClientScript.RegisterClientScriptResource 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*****@hotmail.comwrote in message
news:v1********************************@4ax.com...
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...@hotmail.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...@hotmail.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\wwwroot\aspnet_client 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='javascript' src='myscript.js'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.ClientScript.RegisterClientScriptResource 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
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...
1
by: HB2 | last post by:
Can someone explain what this folder is? Do ASP pages get stored in this folder? Thanks
3
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...
7
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...
2
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...
2
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...
3
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...
0
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...
1
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.