开发者

must the silverlight plugin object tag be contained within a form

开发者 https://www.devze.com 2022-12-28 19:57 出处:网络
Looking at the sample .html file generated on a silverlight 4 project we see that the object tag is inside a form.(and the form has 开发者_C百科runat=\"server\" for that matter)

Looking at the sample .html file generated on a silverlight 4 project we see that the object tag is inside a form. (and the form has 开发者_C百科runat="server" for that matter)

Is there a reason that the plug-in must be within a form, and for that matter what does runat="server" mean in an html file (note I understand it's purpose in an aspx file)


Nope it doesn't need to be in a Form. Even when using ASPX I tend to remove all the extra paraphenalia that comes with a default template for an ASPX page.

In html runat="server" means nothing unless someone has mapped html extension to the ASP.NET processor which would be quite a weird thing to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号