Bug found when the silverlight app is unloading...
There is one annoying problem is happening that i' got a project in sl 2.0 and making a call in the aspx file.
When I load this sl project it works however, when i move somewhere else i got this java script error:
"Object doesn't support this property or method'
When I stop for debugging it shows following line:
host.content.OnFullScreenChange = null;
file name; ScriptResource.axd
I've marked with bold color that is breaking:
function Sys$UI$Silverlight$Control$dispose() {
if (this._loaded) {
this.pluginDispose();
this._loaded = false;
}
var host = this.get_element();
if (host) {
if (this._setOnLoad) {
host.OnLoad = null;
}
if (this._setOnError) {
host.OnError = null;
}
if (this._setOnFullScreenChange) {
host.content.OnFullScreenChange = null;
}
if (this._setOnResize) {
host.content.OnResize = null;
}
}
"If I've answered your query, please mark "Answered".