Connecting Tech Pros Worldwide Forums | Help | Site Map

how to use aspnet_client for js

Jeff User
Guest
 
Posts: n/a
#1: May 27 '07
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


Alexey Smirnov
Guest
 
Posts: n/a
#2: May 27 '07

re: how to use aspnet_client for js


On May 27, 6:21 am, Jeff User <jen1...@hotmail.comwrote:
Quote:
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

Alexey Smirnov
Guest
 
Posts: n/a
#3: May 27 '07

re: how to use aspnet_client for js


On May 27, 9:32 am, Alexey Smirnov <alexey.smir...@gmail.comwrote:
Quote:
On May 27, 6:21 am, Jeff User <jen1...@hotmail.comwrote:
>
>
>
>
>
Quote:
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.
>
Quote:
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.
>
Quote:
Is there any documentation on how to do this anywhere?
>
Quote:
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

Jeff User
Guest
 
Posts: n/a
#4: May 28 '07

re: how to use aspnet_client for js


On 27 May 2007 00:39:04 -0700, Alexey Smirnov
<alexey.smirnov@gmail.comwrote:
Quote:
>On May 27, 9:32 am, Alexey Smirnov <alexey.smir...@gmail.comwrote:
Quote:
>On May 27, 6:21 am, Jeff User <jen1...@hotmail.comwrote:
>>
>>
>>
>>
>>
Quote:
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.
>>
Quote:
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.
>>
Quote:
Is there any documentation on how to do this anywhere?
>>
Quote:
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
Mark Rae
Guest
 
Posts: n/a
#5: May 28 '07

re: how to use aspnet_client for js


"Jeff User" <jen1162@hotmail.comwrote in message
news:v1im5350olh92q1j61i1ih50m1cm6sgs3d@4ax.com...
Quote:
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

Alexey Smirnov
Guest
 
Posts: n/a
#6: May 29 '07

re: how to use aspnet_client for js


On May 28, 11:23 pm, Jeff User <jen1...@hotmail.comwrote:
Quote:
On 27 May 2007 00:39:04 -0700, Alexey Smirnov
>
>
>
>
>
<alexey.smir...@gmail.comwrote:
Quote:
On May 27, 9:32 am, Alexey Smirnov <alexey.smir...@gmail.comwrote:
Quote:
On May 27, 6:21 am, Jeff User <jen1...@hotmail.comwrote:
>
Quote:
Quote:
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.
>
Quote:
Quote:
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.
>
Quote:
Quote:
Is there any documentation on how to do this anywhere?
>
Quote:
Quote:
Thanks.
Jeff
>>
Quote:
Quote:
- Show quoted text -
>
Quote:
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.
>>
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

Closed Thread