English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Here it is:

I have a default.aspx page.
I have written a Javascript page called resource/JS1.js

How can I include this in my .aspx file?

2007-03-28 07:20:00 · 3 answers · asked by instntpudn 2 in Computers & Internet Programming & Design

Use AOL? Are you serious? I'd rather kill myself.

2007-03-28 07:55:27 · update #1

3 answers

2007-03-28 07:24:13 · answer #1 · answered by David D 7 · 1 1

The correct way to do this is to use ClientScriptManager. RegisterClientScriptBlock(). In the correct method of your .NET code, call:

ClientScript. RegisterClientScriptBlock( this.GetType(), "UniqueScriptName", "" );

2007-03-28 07:26:56 · answer #2 · answered by Rex M 6 · 0 1

use AOL

2007-03-28 07:26:10 · answer #3 · answered by Anonymous · 0 2

fedest.com, questions and answers