> At 02:00 PM 8/13/2002 +0000, sundar srinivasan wrote:
>How do I 'include' javascript files in .NET? I have read
>about 'Registering' scripts in the SDK..but this is not conducive for
>large amounts of javascript. Can I not put all my javascript in a user
>control (or whatever) and tell IIS to send it to the client?
You can put this in the .aspx page:
<script language="javascript" src="popup.js"></script>
Also check the RegisterClientScriptBlock method.
HTH,
Philo
Thanks Philo.
Another question..is there a way to execute client-side onLoad() in
addition to the server-side 'Page_Load()' so I can do some tool-bar
loading etc on a frame?