Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Why is WP7 WebBrowser InvokeScript call throwing Error: 80020101?
- SystemException was unhandled
- An unknown error has occurred. Error: 80020101.
- MyBrowser.InvokeScript("getData", "/Me/Feed?numberOfResults=-1", "MyFeed");
- function getData(url, context) {
- $.ajax({
- url: url,
- dataType: 'jsonp',
- success: function (result) {
- callback(result, context);
- }
- });
- }
- MyBrowser.InvokeScript("postData", "thedata", "CreatePost");
- function postData(payload, context) {
- $.ajax({
- type: "POST",
- url: "/Post/Create?" + tz(),
- data: payload,
- dataType:"json",
- success:function (result) {
- callback(result, context);
- }
- });
- }
- postData("sampledata", "PostTest");
- Dispatcher.BeginInvoke(() =>
- {
- MyBrowser.InvokeScript("postData", "thedata", "CreatePost");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement