Author: whorfin | Posted on: 10/23/2007 10:56:40 PM | Views : 296

The Loaded event for my canvas doesn't seem to be firing...

I've got a solution with a web application and a silverlight project in it. I created a folder in the web application called "SilverlightClient", and then linked it to the silverlight project. I manually duplicated the silverlight.js and default_html.js files, and touched up the paths. And finally I modified my default.aspx to include the jscripts, and created a div for silverlight.

The xaml seems to load fine. My background (a texture brush) loads and displays. And if I add a constructor to the silverlight page object, and set a breakpoint, it gets hit. So it's gotta be creating and object of the right class. But a breakpoint in Page_Loaded never gets hit.

From looking around the web, the only thing I seem to be doing different from everyone's examples and tutorials is my Default.aspx has a code behind, while everyone else just seems to be using fairly empty aspx pages (not ...

Go to the complete details ...