When I click the Store button in Add-in group (Home tab), it doesn't open the Store window instead, it opens a web page in my default browser. My purpose is to upload an xml file from my files.
I am trying to open a link on a button click in windows 10 Universal app. I used web view but it does not seem to work. how to open a url (eg. facebook.com or google.com) on a button click. I am using XAML and C#
Did you try this in Button Click event handler?
await Windows.System.Launcher.LaunchUriAsync(new Uri("uri address"));
Im on development of window phone application,
Scenario:
Mini browser opening a page(for example google.com)
Google.com has a button called 'Search'
If User clicked button 'Search'
Redirect to an redirect.xaml
Else
Do nothing
Here is my scenario, how can I actually detect the User clicked the button and only they can proceed to the next page? Is that I have to use javascript in this situation? because if on web, this is technique which I will use.
Webbrowser control downloads we content and you have to parse the content or to handle the js actions. Thats the way to do it.
How to open new Browser window in Windows Phone with Phonegap and Jquery Mobile?
I tried everything i could think of:
link name
With javscript window.open
etc
I can't get it to open in a new window. The problem is when it opens now it its inside the "webview" and when pressing the back button the application closes, it should go back to the prev page. Or it should open in a new window/outside the app (aka internet explorer).
There 2 possible solutions:
A way to open it outside the application
Open it inside but should be able to get back to the prev bage with the back button
Is there a way to programmatically instruct IE8 to open a popup in a new window rather than a new tab? I know that IE supports modal windows but I have a bunch of legacy code with ordinary popups.
Update:
I am using Javascript's window.open() method to create popup windows. However, when a user has their IE8 settings set to "Always open popups in a new tab", the popup is launched in a new tab rather than a new window.
Using html, the best you can do is set open page target to blank. Everything else is controlled by the client side and they can choose to open it in a new window or tab.
However, you can use javascript to open the window. Create Link to open in new window here
Since no one else is chiming in... After doing further research, it seems that you cannot force a pop-up to open into a new window when an IE8 user has the following browser setting enabled: Tools>>Internet Options>>Tabs>>When a pop-up is encountered:>>Always open pop-ups in a new tab.
Since I am in an Intranet environment, I have the option of locking down a users IE settings to either "Let Internet Explorer decide how pop-ups should open" or "Always open pop-ups in a new window".
I don't really care to exercise the above option so in order to get the desired user experience, I will resort to making one of the following code changes:
Convert existing pop-ups to IE specific Modal Dialogs using the showModalDialog() method.
Convert existing pop-ups to Javascript Modal Dialogs using jqModal or some other jQuery plug-in.
If you opt to let Internet Explorer decide how to display pop-ups, it
will display the pop-up in a new window if the pop-up specifies size
or display requirements. Otherwise, the pop-up is displayed in a new
tab.
http://windows.microsoft.com/en-US/windows-vista/Tabbed-browsing-in-Internet-Explorer-8-frequently-asked-questions
So if you don't set any specific window requirements and it should open in a new tab, unless a user has changed these settings.