http://www.johnpapa.net/5-simple-steps-to-commanding-in-silverlight/
Disable intellisense for speed up Silverlight App with WCF RIA Service
January 10, 2012
1. Disable WCF RIA Service intellisense
[HKEY_LOCAL_MACHINE]\SOFTWARE\Wow6432Node\Microsoft\WCFRIAServices\v1.0
Right click on the right (where the values are) and select NEW > DWord 32 bit value called: DisableLiveIntellisense
Right click the value you just added and select Modify.
Enter the Value 1
2. Disable XAML intellisense
Set the following registry key to 0:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Text Editor\XAML\Auto List Members
Call javascript from silverlight, How to?
October 31, 2010
1. javascript function
<script language=”javascript”>
function SayHello()
{
alert(“Hello from JavaScript, invoked by Silverlight”);
}
</script>
2. .xaml
<Grid x:Name=”LayoutRoot” Background=”White”>
<Button x:Name=”btnSayHello” Content=”Say Hello”
Click=”btnSayHello_Click”></Button>
</Grid>
3. .xaml.cs
private void btnSayHello_Click(object sender, RoutedEventArgs e)
{
HtmlPage.Window.Invoke(“SayHello”);
}
4. include HtmlPage class
using System.Windows.Browser;
Silverlight 2.0 and ASP.NET tutorial: Getting started
September 21, 2008
Introduction
What’s new?
Silverlight 2.0 ships with many new controls like: CheckBox, Calendar, Grid, GridSplitter, MediaElement, ScrollViewer, StackPanel, TextBox, Slider, Tooltip…
When using the Designer with VS 2008 and the Toolbox, it feels like you are designing a GUI for WPF. You can add eventhandlers to the controls like a Click-Handler for a Button
<Button Content="Page 1" Margin="3" Click="Button_Click"></Button>
private void Button_Click(object sender, RoutedEventArgs e) { // TODO }
The layout manager support in Silverlight 2.0 is a part Silverlight UI Framework which is a compatible subset of the WPF UI Framework. Other parts of this Framework which are available in Silverlight are Databinding support, Control templates and Skinning.
Base class library
Silverlight contains a .NET base class library with support for functionalities of the namespaces Collections, IO, Generics, Threading, Globalization, XML and many more.
Installation
After installation the following VS project templates for Silverlight are available: