VS 2008 JavaScript Intellisense for Silverlight
page 2 of 3
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 2777/ 65

JavaScript Intellisense for Silverlight 1.0

Over the last few weeks I've blogged about the new VS 2008 JavaScript Intellisense and VS 2008 JavaScript Debugging features in Beta 2.   In addition to using these JavaScript tooling features when building pure HTML AJAX solutions, you can also now take advantage of them when targeting Silverlight 1.0.

Justin-Josef Angel earlier today released an awesome Silverlight 1.0 JavaScript Intellisense CodePlex Project that helps dramatically with this.  It includes some nice annotated JavaScript helper methods that provide the ability to work with any XAML element in Silverlight with full intellisense in VS 2008. 

To use it, simply add his JavaScript library to the top of your page:

Figure 1

You can then use Justin's helper functions to take late-bound objects and indicate their JavaScript type:

Figure 2

This will then cause the VS 2008 JavaScript intellisense engine to automatically provide intellisense and syntax checking for you:

Figure 3

You can learn all about Justin's library via his excellent tutorial post here.  You can then download and participate in the codeplex project here.

Hope this helps,

Scott

P.S. All of the intellisense features above work in both VS 2008 as well as the free Visual Web Developer 2008 Express Edition.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 4 and 5 and type the answer here:

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 9/7/2008 1:21:21 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search