So the code 'might' look like this:
handleLoad: function(control, userContext, rootElement)
this.control = control;
this.root = control.content.root;
var downloader = this.control.createObject("downloader");
downloader.addEventListener("completed", Silverlight.createDelegate(this, this.JScriptObjDownloadCompleted));
JScriptObjDownloadCompleted: function(sender, eventArgs)
var xamlItem = sender.getResponseText("");
this.Object = eval( xamlItem );
// some more code...
I'm not saying you should do this... just that it can be done.
This blog has moved…
6 years ago