« Return to Thread: Silverlight onload is not getting called
Jimmy Schementi wrote:Silverlight doesn't have a "onload" method, that's only in JavaScript, "window.onload". All IronPython code is run on Silverlight's System.Window.Application.Startup event, so you won't see that fired in IronPython since it has already occurred. However, you can hook the "Loaded" event on UserControl to see when all the controls are loaded.
Isolated Storage shouldn't have anything to do with loading the app, unless there's an exception being raised when you're accessing Isolated Storage. Make sure your HTML page sets "initParams" to "reportErrors=errorLocation" to see any exceptions that you don't catch.
Feel free to post the code which causes this error so I can track down the exact error.
~js
> -----Original Message-----
> From: users-bounces@lists.ironpython.com [mailto:users-
> bounces@lists.ironpython.com] On Behalf Of adhi.r
> Sent: Saturday, June 27, 2009 12:09 AM
> To: users@lists.ironpython.com
> Subject: [IronPython] Silverlight onload is not getting called
>
>
> Hi,
> I'm using silverlight with ironpython with huge amount of modules, the
> problem is some times the onload method of Silverlight is not getting called
> hence the silverlight UI components are not getting displayed. I'm using
> IsolatedStorage, and when I clear the storage and do refresh its working.
> Can anyone help for this problem.
>
> Adhi
> --
> View this message in context: http://www.nabble.com/Silverlight-onload-is-
> not-getting-called-tp24230948p24230948.html
> Sent from the IronPython mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
« Return to Thread: Silverlight onload is not getting called
| Free embeddable forum powered by Nabble | Forum Help |