locked
Silverlight test page opens blank ! RRS feed

  • Question

  • Hi,

    Im working on silverlight for the first time and was trying out my first project .i chose the option

    "Automatically generate a test page to host Silverlight at build time"

    But on executing ,it opens a blank white page though i can see the preview of the xaml.

     

    Would be great if someone could help out here ...

    -Tina

    Monday, May 25, 2009 5:28 AM

Answers

  • Hi,

    i figured out the issue : the first statement in the xaml file -

    <UserControl x:Class="Grid.Page"

    (grid is the name of my project)

    Instead of Grid ,earlier i had out in another name and that caused the issue !

    Thanks everyone.

    Wednesday, May 27, 2009 4:47 AM

All replies

  • What browser are you using? Firefox has some problems sometimes...

    Monday, May 25, 2009 5:32 AM
  • im using IE .

    Monday, May 25, 2009 5:36 AM
  •  

    Monday, May 25, 2009 6:25 AM
  • The default Silverlight control generated by the wizard is blank, you could change your background to red or something else to see it. If you have modified the XAML or the code, you'll get a blank screen if you have an error in your control.

    Monday, May 25, 2009 8:37 AM
  • Hi,

    i figured out the issue : the first statement in the xaml file -

    <UserControl x:Class="Grid.Page"

    (grid is the name of my project)

    Instead of Grid ,earlier i had out in another name and that caused the issue !

    Thanks everyone.

    Wednesday, May 27, 2009 4:47 AM