Skip to main content

Microsoft Silverlight

Answered Question Silverlight test page opens blank !RSS Feed

(0)

Tina1983
Tina1983

Member

Member

0 points

5 Posts

Silverlight test page opens blank !

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

eecsaky
eecsaky

Member

Member

270 points

46 Posts

Re: Silverlight test page opens blank !

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

Eugenio Estrada Csaky
Blog: http://geeks.ms/blogs/eecsaky
Phone: +34 663 139 974

Tina1983
Tina1983

Member

Member

0 points

5 Posts

Re: Re: Silverlight test page opens blank !

im using IE .

Tina1983
Tina1983

Member

Member

0 points

5 Posts

Re: Re: Re: Silverlight test page opens blank !

 

Bill Reiss
Bill Reiss

Contributor

Contributor

4836 points

917 Posts

Silverlight MVP

Re: Silverlight test page opens blank !

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.


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

Tina1983
Tina1983

Member

Member

0 points

5 Posts

Answered Question

Re: Re: Silverlight test page opens blank !

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.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities