|
Rank: Advanced Member Groups: Member
Joined: 5/15/2017 Posts: 48
|
I'm creating an instance of EO.Wpf.WebControl and setting a Url when the control is constructed. So, when the control is rendered, it renders the page for given Url. Now if I navigate to back, it goes to the blank page. How do I initialize the WebControl or the WebView to start from the specified Url and not initialize with blank page. Or is there a way to clear the history so the navigation doesn't go to the blank page?
I also tried this but didn't help. webControl.WebView = new WebView() {Url = url;}
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
What version do you use? If you use the latest build, you shouldn't be able to navigate back from the first Url.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 5/15/2017 Posts: 48
|
I'm using the evaluation copy downloaded last week - version 2017.1.42.0.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
How do you navigate back? If you check WebView.CanGoBack it should be false in your case and WebView.GoBack shouldn't do anything.
|
|
Rank: Advanced Member Groups: Member
Joined: 5/15/2017 Posts: 48
|
I'm just using the default context menu to go back. e.Menu.Items.Add(new EO.WebBrowser.MenuItem("Back", CommandIds.Back));
Shortcut also has the same effect: new Shortcut(CommandIds.Back, KeyCode.Back, false, false, false)
It is probably default command handling for the CommandIds.Back is not checking the CanGoBack.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed this to be an issue. We will fix this in our next build.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 5/15/2017 Posts: 48
|
Thank you. Please check the command handler for the Forward command, we may need a similar check there as well.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We are not aware of any issue with forward. The issue now is there is an initial blank state that the browser engine should not allow user to back into. As long as that is prevented, there should be no issue with forward.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Please download build .65 from our download page. This build will not back to the initial blank state.
Thanks!
|
|