CodingForFun Toolkit Closing popup clears content from textboxes WP8 - windows

I am using CodingForFun Toolkit to create a pop up on on Windows phone app page (xaml).
I used the following code example http://developer.nokia.com/community/wiki/Create_simple_overlay_with_UserControl_in_Windows_Phone#?ticket=ST-0e471fde-6d16-4345-8eaf-038344e8f195-a00475e0-92ab-4a0b-9a4e-dccb8fffb737.
My page contains textboxes as I am trying to create a form page that has a link at the bottom (accept terms and conditions) that opens using a popup. But when I close the Popup using the back key on the phone the form content is cleared.
How can I keep the content even after closing the popup?
Thanks

Related

Outlook contextual add-ins - download links are not working

I have contextual add-ins and when we click on highlighted text it will open a modal dialog, inside that it contains some link which can be downloaded. when we click on that link in web browser it works fine but when we tried on desktop outlook(Native) it is crashing.
In html i tried in 2 ways, one using anchor tag (<a href="" ng-href="api/rest/download....") and another using by blob (rest call) via angularjs.
Both ways are not working. Is this a limitation in Native outlook to not download any files or am i missing anything here?
Tried target=_blank and the result was same.
The contextual add-in dialog / card is not modal. It is transient dialog that gets closed when it loses focus. Clicking on a link to download a file will cause the dialog to lose focus and close. Also, to download a file, try the openBrowserWindow API. This will also close the contextual card.

Are there any changes in the WebView related APIs in UWP or UAP Windows app?

I am having a Windows 8.1 supported app, but now it is updated to the UWP/UAP (i.e. Windows 10) app.
After updating the custom URI scheme is not working, On a button click on the web page, we were using "navto://" custom URI scheme and handling were done in a js file. The button action was bind through the anchor tag.
From this approach, we navigate our web pages forward/backward or used to send a user to a particular web page.
But now this js file is being not called on the click of the same button and a System Popup appear saying "You will need a new app to open this navto link". For reference, please have a look at the attached screenshot of the error popup. If anybody is familiar with the issue, please suggest me the solution.
Actually I followed this page to migrating the app https://learn.microsoft.com/en-us/visualstudio/misc/migrate-apps-to-the-universal-windows-platform-uwp?view=vs-2015#MigrateCSharp
And also tried other options as well by googling but I haven't got any perfect solution yet.
Thanks

WinRT Settings Charm. Elements overlayed by on screen keyboard

I'm developing for Windows 8 (WInRT) and have problem with settings charm. Settings popup is based on Microsoft SDK settings charm. Settings panel is Popup. Content is wrapped by ScrollViewer -> Grid -> StackPanel. In StackPanel I have input fields. when I trying to fill last of them on screen keyboard overlaying it and I cant see field and cant scroll to it. Is there any way to see it and to scroll to it automatically?
Seems like the popups on Windows 8 suffer from the same problem as they did on Windows Phone in that when you put a TextBox on one of them - it does not get pushed up together with all the other content as it does when it is not in a popup.
My solution to that would be to not use popup for input fields and instead go for a layout that you can manage yourself.
By default the app has a Frame control at its visual root. You can modify it for example by putting your own UserControl in there (I usually call it AppShell) which has the Frame used by all pages, you can have a layer for popups, log in screens, the extended splash screen etc.
To solve your problem you would need to put your charm's UI inside of such layer instead of in a popup. Then the build-in mechanism that pushes all the UI up when the on-screen keyboard would otherwise obstruct the view of your TextBox should just start working again.
*EDIT
A simpler solution might be to make sure your settings panel popup is parented in your visual tree - e.g. by adding it as a child element to a root grid of your app or page. It turns out that in that case its content does get pushed up when the OSK shows up.
Take a look at this post
It's a popup wrapper (turns user controls into popups) that takes care of the keyboard appearing and adjusts the size of the popup (and thus the user control) accordingly.

WP7 ListPicker control in development mode

I am using the WP7 ListPicker control to display 7 items on the current form. I set the ItemCountThreshold="7" so all the items display in the current form like a drop down control would work.
This works well.
The problem I am having is that since I need the control to take up the entire Grid so that all the items display correctly and since the control is "brought to front", I can't click on any control positioned below the ListPicker while in development mode. When running the form, everything works. But in development mode, the only way to click on another control below the
ListPicker is to send the ListPicker to back, then work on another control, then bring the ListPicker to front.
Is there anyway around this?
I have to have the ListPicker in front so that when the form runs and the ListPicker is opened, the ListPicker will open over top of the other controls. If the ListPicker is sent to back and the form is run, then when the ListPicker opens, the other controls bleed through the ListPicker.
Is there a property for the ListPicker to open over top of the other controls?
Grabbing Cookies in Web Browser Control - WP7
see this question and try to grab cookies as explained and check their value for your page if they are set or not. I hope I am right

How To Navigate Images From One Page To Another page in windows phone 7?

I Want To Display One Xaml page Image In Another Xaml Page When clicking On It in windows Phone 7 Application Using Silverlight.Give Sample Code for That One.
First tell how you are navigating from one page to the other. If u are using NavigationService.Navigate(), we can't pass objects using this architecture.

Resources