Saturday, September 11, 2010

Silverlight Development

In my new role one of my new responsabilties is the development of Silverlight applications, and then include them inside my sharepoint projects, so here we go with some tips.

To display Alert Box, use:
System.Windows.Browser.HtmlPage.Window.Alert("Alert Message");
To display Input box (prompt), use:
string strValue = System.Windows.Browser.HtmlPage.Window.Prompt("What is your age?");
To display confirm box, use:
bool blnResult = System.Windows.Browser.HtmlPage.Window.Confirm("Are you sure?");

So since now I am including some silverlight tips and tricks on my posts.

I will be expecting your comments.

No comments:

Post a Comment