This finally bubbled to the top of my "must get around to, some time" stack today…
Recording what I needed to do to get the second Voidspace controls example to work with the later beta:
- Remove all the assemblies in the
- Copy in
System.Windows.Controls.Extended.dll(only) from the Silverlight beta 2 SDK.
- In the web page, set the
<AssemblyPart Source="Microsoft.Scripting.Core.dll" />to the manifest.
- In the python source, remove the
System.Windows.Controlsreference, and update
System.Windows.Controls.Extendedto version 126.96.36.199.
WatermarkTextBoxwith just plain
Only needing an
<object> tag with
data attributes, it works in Firefox 3 -- you just have to explicitly go and install the beta (the fallback link inside the
<object> tag didn't show with FF3 and Silverlight 1).
So here it is -- 1k of code along with 1.2M of infrastructure assemblies (which is a megabyte more weight than Jython would need for the equivalent).
Sample removed from here 13-Dec-08 as the beta release is now obsolete.. New sample here.
274467 Aug 13 21:47 applet.jar 1229665 Aug 12 20:22 app.xap 2260 Aug 12 20:22 index.html 2071 Aug 13 21:47 jython.html