Call Javascript Methods from within Silverlight
(http://pietschsoft.com/post/2008/06/Silverlight-and-JavaScript-Interop-Basics.aspx)
Using the Eval method (vulnerable to script injection)
using System.Windows.Browser;
|
Using the Invoke method
using System.Windows.Browser; |
Return values from Javascript method calls to Silverlight
// Returning a Double |
Return objects from Javascript method calls and accessing its methods & properties
Handling ScriptObjects
Related:
Call Silverlight methods from Javascript
Handling ScriptObjects
No comments:
Post a Comment