When navigating between WPF pages using the "NavigationCommands", I find that when using NavigationCommands.BrowseBack, the previous page displays the standard MS controls with their previous values, but the DX controls are blank.
If I swap out the DX controls for their standard MS counterparts and try again, the MS controls show the values correctly.
To recreate this, create a MainPage with a Frame loaded with Page1 and a button to load Page2. Create 2 additional Pages, Page1 with some unbound MS and DX TextEdit controls and Page2 with a button to BrowseBack to the first page.
If you run this and enter some values into the Page1 TextBoxes, then navigate to Page2, then BrowseBack to Page1, the MS controls show their previous values, the DX controls do not.
Any ideas why the controls respond differently in this situation?
Steps to Reproduce:
Launch test project
Type anything in both editors.
Press the Go To Page 2 button.
Press the Back button to return to the Page 1
TextEdit loses its value
TextEdit keeps its value
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.