Last Friday was the official day that Silverlight 3 released. I was about to go home on Friday and don't know why something came to my mind that it's time to check Silverlight's website. Boom! SL 3 is released.
Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1
Showing posts with label Silverlight. Show all posts
Showing posts with label Silverlight. Show all posts
Tuesday, 14 July 2009
Tuesday, 9 June 2009
InvalidOperationException: HtmlPage_NotEnabled
Add this in Page_Loaded
==========================
if (DesignerProperties.GetIsInDesignMode(this))
return;
To avoid this problem, be sure to check if you use HtmlPage class in Page_Loaded.
If inside Page_Loaded you call another functions, make sure they do not call HtmlPage class. Otherwise, use the if statement I provided above.
Reference:
http://www.andybeaulieu.com/Home/tabid/67/EntryID/158/Default.aspx
==========================
if (DesignerProperties.GetIsInDesignMode(this))
return;
To avoid this problem, be sure to check if you use HtmlPage class in Page_Loaded.
If inside Page_Loaded you call another functions, make sure they do not call HtmlPage class. Otherwise, use the if statement I provided above.
Reference:
http://www.andybeaulieu.com/Home/tabid/67/EntryID/158/Default.aspx
Subscribe to:
Posts (Atom)