Silverlight onLoad javascript event not called
I spent two days trying to understand why my silverlight (hosted on IIS) was not calling events in the index.html page (hosted under tomcat)...
According to http://msdn.microsoft.com/it-it/library/cc838236(v=vs.95).aspx
"If you are referencing a Source that is cross-domain from the hosting HTML, handlers for OnSourceDownloadComplete or OnSourceDownloadProgressChanged are never invoked."
We can extend this information for each silverlight's object events, including the onLoad and onError one!
The only solution was to put the xap(s) on the tomcat service :-(
According to http://msdn.microsoft.com/it-it/library/cc838236(v=vs.95).aspx
"If you are referencing a Source that is cross-domain from the hosting HTML, handlers for OnSourceDownloadComplete or OnSourceDownloadProgressChanged are never invoked."
We can extend this information for each silverlight's object events, including the onLoad and onError one!
The only solution was to put the xap(s) on the tomcat service :-(
Commenti
Posta un commento