United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Product Families
Office
Windows
Windows Server System
Windows Mobile
Developer Tools
Business Solutions
Games & Xbox
MSN
Resources
Microsoft Update
Office Update
Download Center
Help & Support
Security
Volume Licensing
About Microsoft
Company Information
Investor Relations
PressPass for journalists
Popular Places
MSDN (Developers)
TechNet (IT Pros)
Microsoft At Home
Microsoft At Work
Business & Industry
Microsoft partners
Microsoft hardware
Product catalog
Mactopia
Microsoft.com site map
Popular Searches
Templates
ActiveSync
Clip art
Popular Downloads
Windows Defender Beta 2
DirectX End-User Runtime
More popular downloads
Welcome
Sign in
Developer Centers
MSDN Home
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Community Content
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Web.UI Namespace
Please Wait
ClientScriptManager Class
Please Wait
ClientScriptManager Methods
Please Wait
RegisterClientScriptInclude Method
Please Wait
Collapse All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
.NET Framework Class Library
ClientScriptManager
.
.
::
.
RegisterClientScriptInclude Method
Updated: November 2007
Registers the client script include with the
Page
object.
Overload List
Name
Description
RegisterClientScriptInclude(String, String)
Registers the client script with the
Page
object using a key and a URL.
RegisterClientScriptInclude(Type, String, String)
Registers the client script include with the
Page
object using a type, a key, and a URL.
Top
See Also
Reference
ClientScriptManager Class
ClientScriptManager Members
System.Web.UI Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
Hard coded to type=""text/javascript""
Bebo
|
Edit
|
Please Wait
Via reflector, it appears that this function is hard coded to include scripts as type=""text/javascript"". If you wish to include vbscript files, create your own script include statement and then use RegisterClientScriptBlock.
Tags
:
include
(
x
)
javascript
(
x
)
script
(
x
)
type
(
x
)
vbscript
(
x
)
Add a tag
Add
Cancel
Flag as
ContentBug
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Manage Your Profile
|
Legal
|
Contact Us
|
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement