Ian (Fluxtah) Warwick's blog RSS 2.0
# Monday, October 06, 2008

I almost wrote off the idea that this was even remotely possible until I looked into it more on msdn and found an example.

/// <reference name "Ajax.js" assembly="System.Web.Extensions, ..." /> 

After doctoring it for my own script and assembly it was not working after trying several different renditions and wondering if it would ever work with the missing = in the name attribute and what the hell the ... was, I finally came to something that worked.
/// <reference name="AjaxSnippets.SnippetManager.js" assembly="AjaxSnippets" />

SnippetManager.js is the file in my AjaxSnippets.dll.

The only snag is that I have not been able to get it to work in a script block inside an aspx page, but it does work in a js file. 

Monday, October 06, 2008 6:47:00 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0] -
ASP.NET
Comments are closed.
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Ian Warwick
Sign In
Statistics
Total Posts: 33
This Year: 0
This Month: 0
This Week: 0
Comments: 4
Themes
Pick a theme:
All Content © 2012, Ian Warwick
DasBlog theme 'Business' created by Christoph De Baene (delarou)