RSS 2.0  Frustrated by Design
# Monday, May 12, 2008

If you reference an ASP.NET page that contains a scriptmanager in your js file like below you get intellisense for the entire Microsoft AJAX Library plus any additional scripts ref’d by the scriptmanager.  The easiest way to get the /// <reference/> entry in your js file is to drag n drop your .aspx page from solution explorer into  the contents of your js file.  VS magically adds the refJ

Since I tend to use stand-alone .js files I can just add this.

/// <reference name="MicrosoftAjax.debug.js" />

to my consuming page and intellisense is wired to my JavaScript code.

image001

Thanks to Marc Schweigert for the reminder !

Monday, May 12, 2008 6:43:32 AM (Atlantic Standard Time, UTC-04:00)  #    Comments [1] - Trackback
AJAX | ASP.NET | Misfit Geek [Syndicated]
Tracked by:
"http://www.google.com/search?q=ldskmetc" (http://www.google.com/search?q=ldskme... [Pingback]
Navigation
About Me
    Joe Stagner
Follow me on Twitter.

View Joe Stagner's profile on LinkedIn

MSDN

Search
RSS/Subscribe
  RSS 2.0 | Atom 1.0 | CDF  
Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Contact
Send mail to the author(s)  Send me email.
Statistics
Total Posts: 446
This Year: 2
This Month: 2
This Week: 2
Comments: 1449
Disclaimer

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

© Copyright 2009
Joe Stagner
Sign In
All Content © 2009, Joe Stagner