How to redirect your navigateuri of hyperlinkbutton to your isolatedstorage?
or
Is there a workaround to display data from isolatedstorage to new browser?
You dont.
IsolatedStoratge is usable only by the API. You can no redirect the navigateurl to it.
Related
When you open a dialog using the office.js Dialog API from your add-in, apparently the page opened has to be from your add-in's domain. It can however immediately redirect to a page in another domain.
How would you recommend carrying out such a redirection?
Is anyone redirecting to another domain from such a dialog? If so how are you doing it and what have been your results?
Thanks.
How you do it depends on the framework you are using. This ASP.NET MVC sample does it in a controller with a call to the ASP.NET Redirect method.
This single page add-in sample uses the JavaScript window.location.replace property.
Telerik AppBuilder is using it's own "webview", but Apple store cannot accepts donations through app unless it's done thought Safari browser... Is there any way to open Safari browser inside App?
Thanks
You should be able to use the InAppBrowser plugin, but use the target of "_system". See the docs for more details: https://github.com/apache/cordova-plugin-inappbrowser/blob/master/doc/index.md
Use the second argument "_system" to open the link in the default browser.
Omit it to open with in the app.
window.open("www.google.com", '_system');
I have an ASP.NET 1.1 app that does not work in IE10. When I try to navigate anywhere, I get a blank screen. The html of the blank screen looks like this:
<asp_smartnav_rdir url="/MyWebFormName.aspx"/>
I have seen the fixes for what sounds like a similar issue for .NET 2 through 4, but there is no App_Browsers folder in .NET 1.1.
The workaround that I settled on for this issue is to simply disable smart navigation. I wasn't using those features anyway. I'm not sure why it's broken in IE10 and not other browsers, but I can live without it.
I disabled it by setting smartNavigation="False" in the #Page directive of my aspx pages. It can also be programmatically set in the aspx.cs file by overriding the OnInit method and setting this.SmartNavigation = false.
I want to make a webpage, that works as an APP (in facebook, iframe) and as a usual webpage too.
How can I accomplish this in a proper way?
Right now, I'm connecting to facebook as an APP with the PHP SDK: getLoginUrl(), then redirect the user to this url, blabla. Works fine if I'm in facebook, and using it as an app.
Problem is if the session is outdated, and I'm not looking this on facebook, this redirecting gets annoying, also: very unprofessional in my opinion...
Thanks in advance!
SOLVED: here's the solution for my specific problem:
It took me 1 change of line in the code, which is the following:
$canvaseurl = ($_SERVER['HTTP_REFERER'] == "https://apps.facebook.com/APPNAME/") ? "https://apps.facebook.com/APPNAME/": "https://MYWEBPAGE.hu/app/";
So I simply redirect to the url, where the user came from.
Pretty simple. :)
Once the person authorizes the application, you will be able to use either the iframe or the website, just so long as you don't force it to go back to the application page. I have used the Facebook PHP SDK and noticed that if you enter the actual location that is loading into the iframe it will stay on that page outside of the apps.facebook.com. However this is dependant on the settings you use. Try experimenting with it and see if that helps you.
How can I access content of a website within the PhoneGap WebView?
My application accesses a website with a login form. I want to grab & parse the resulting credentials/content displayed in the website.
Using the ChildBrowser Plugin, it seems that I don't have any access to the child browsers content?
Thanks in advance
Max
Have you looked at XMLHttpRequest? You should be able to use that in your JavaScript to request the page.
I'd use jQuery's .ajax() function for that!