Skip to main content

Microsoft Silverlight

Answered Question asp:silverlight the server tag is not well formedRSS Feed

(0)

lpmo
lpmo

Member

Member

8 points

42 Posts

asp:silverlight the server tag is not well formed

I am starting my first Web Site project with Silverlight 2.0 beta 2 and at this point:

<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/prueba.xap" MinimumVersion="2.0.30923.0" Width="100%" Height="100%" />

  I am getting this error message

 the server tag is not well formed

So, what can i do? i haver read everythng i have found, but I do not find any good unswer for it.

 Thanks  a lot!

Lina

rsmith2
rsmith2

Member

Member

16 points

3 Posts

Re: asp:silverlight the server tag is not well formed

You could be missing a closing tag somewhere else in you code.  

The code that you posted is correct, except for the MinimunVersion. It should be MinimumVersion="2.0.30523".

 

philip.beadle
philip.b...

Member

Member

500 points

104 Posts

Answered Question

Re: asp:silverlight the server tag is not well formed

Make sure you have a ScriptManager on teh page before the Silverlight control.

Philip Beadle (DotNetNuke Trustee)

My Blog

My DNN Blog

(If this has answered your question, Mark as Answer)
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities