add external .js file - fail

May 12, 2009 at 4:02 PM
Edited May 12, 2009 at 4:07 PM

Hello, everyone! I have a problem, please give some advice. I`m trying to include some external javascript file to my page. Not important what is inside (i`he been trying to attach very simple functions and jQuery file....) , i still have an javascript error when page loading. The error is something like "Object reference not set".

Is it possible to include scripts in WCSF such a way at all?

May 12, 2009 at 11:00 PM
Edited May 12, 2009 at 11:00 PM

Hi Alkersan,


WCSF supports including javascripts and there is no special configuration required to support it. The Ajax related quickstarts use clientscript for Ajax controls, so perhaps you might find them useful.


Let me know if you have any other doubts.


Matias Bonaventura

May 12, 2009 at 11:39 PM

Well, thank you! I`ve watched RealTimeSearch QuickStart and found that script files can be attached via ScriptManager, but not via declaring them in <HEAD>. I`ll keep in mind.