Yesterday, when I embedded a completed Silverlight 2 beta 1 control into HTML for display, everything went fine in IE, but in Firefox it was prompted that I didn't install the Silverlight 2 plug-in, however, the other Silverlight 2 beta 1 control is normal in IE and Firefox ......
After carefully comparing the differences between the two, we found the problem...
The problematic control used to insert HTML Code As follows: < Object Data = ' Data: Application/X-Silverlight, ' Type = ' Application/x-silverlight-2-b1 ' Width = ' 100 ' Height = '10 0 ' >
< Param name = ' Source ' Value = ' Clientbin/myslcontrol. xap ' />
< Param name = ' Background ' Value = ' White ' />
< Param name = ' Onload ' Value = ' ' />
< A href = ' Http://go.microsoft.com/fwlink? Linkid = 108182 ' Style = ' Text-Decoration: none; ' >
< IMG SRC = ' Http://go.microsoft.com/fwlink? Linkid = 108181 ' ALT = ' Get Microsoft Silverlight ' Style = ' Border-style: None ' />
</ A >
</ Object >
If < Param name = ' Onload ' Value = ' ' /> "Remove this line, or change it to"< Param name = ' Onload ' Value = ' 11' /> "The access is normal in Firefox. I don't know if this is a small bug ~
By the way, Silverlight 2 is good, solving a small problem left over from the Silverlight 1.1 stage: adding "<! After doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ", openfiledialog cannot pop up in Firefox, this problem does not exist in Silverlight 2 ~ :)