Silverlight on aspx page not loading

I developed a simple Silverlight control. I created this using the Silverlight application project template in VS 2008 by adding a test page to my existing website.

Now my control works fine in automatically generated aspx, where I now got it working as needed. However, when I try to put the control on a new page, it does not load. Debugging assumes that the code is executing, but the user interface that I expect to see simply does not appear.

I tried this first on the content page, using the correct homepage for my site layout, and then just in standard ASPX that does not use MPs ... the same problem.

Has anyone else experienced something like this? Am I missing something simple ??

So disappointing, any help appreciated!

+5
source share
2 answers

You can use the Firebug or Internet Explorer (and Fiddler) toolbar to find out if the xap file is being requested and the tag of the processed object is the right size. If you use a check test for any JavaScript errors.

+3
source

Right-click the area that the Silverlight control should be in to see if the Silverlight command prompt appears. This will tell you if the problem is loading your Silverlight object onto the page or after loading the Silverlight plugin.

0

All Articles