RE: RE: Failed to invoke: Javascript function

2011-11-29 Thread Caleb Jenkins
Have you tried skipping Invoke, and just call your function directly? HtmlPage.Window.myTestFunction("Test"); Caleb Jenkins | m: 469-867-552 Sent from Windows Phone 7 -- From: Greg Keogh Sent: 11/29/2011 7:21 AM To: ozSilverlight Subject: RE: RE: Failed to invoke: Ja

RE: RE: Failed to invoke: Javascript function

2011-11-29 Thread Greg Keogh
HtmlPage.Window.Alert("Test"); as per this thread http://forums.silverlight.net/t/211409.aspx/1 Alert works. I have spent another two hours trying to get the Invoke working. I looked back to June 2010 in version control to see who I did a similar testing technique then. I used GetProperty

Re: RE: Failed to invoke: Javascript function

2011-11-29 Thread Jonathan Parker
Try HtmlPage.Window.Alert("Test"); as per this thread http://forums.silverlight.net/t/211409.aspx/1 On Tue, Nov 29, 2011 at 11:07 PM, Greg Keogh wrote: > >Maybe there is a javascript error on the page causing problems. > > I don’t see one in the browser. I’ve tried running the SL4 app in d

RE: RE: Failed to invoke: Javascript function

2011-11-29 Thread Greg Keogh
>Maybe there is a javascript error on the page causing problems. I don't see one in the browser. I've tried running the SL4 app in debug and non-debug modes but I get no extra information from anywhere, just the same "Failed to Invoke" error. No helpful diagnostic information is anywhere that I ca

RE: Failed to invoke: Javascript function

2011-11-29 Thread Greg Keogh
Greg if, by chance, your XAP is on a different domain to the html page you need to add the following param to the silverlight object: Nah! No change to the error -- Greg ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm00