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
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
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
>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
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