Welcome Guest Search | Active Topics | Sign In | Register

CommandIds.Reload is not working Options
Daniel
Posted: Thursday, February 27, 2020 4:17:36 AM
Rank: Member
Groups: Member

Joined: 1/25/2017
Posts: 18
Hi,
I added to WinForm project EO library (latest version 20.0.53).
I added to my web view few shortcuts using below code.
When I have focus inside loaded page and press F5 then nothing is happen.
F5+CTRL is working.
I know that both commands were working in version from last year.
Quote:
webView.Shortcuts = new EO.WebBrowser.Shortcut[]
{
new EO.WebBrowser.Shortcut(CommandIds.Reload, KeyCode.F5, false, false, false),
new EO.WebBrowser.Shortcut(CommandIds.ReloadNoCache, KeyCode.F5, true, false, false)
};

Please verify and fix this.
Thanks!
eo_support
Posted: Thursday, February 27, 2020 2:34:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

We tested this and it seems to be working fine. Our steps are as follow:

1. Load Google's home page;
2. Type something into the search box;
3. Press F5 and you will notice the contents of the search box is cleared;

Can you try the same and see if it works for you?

Thanks!
Daniel
Posted: Friday, February 28, 2020 3:42:35 AM
Rank: Member
Groups: Member

Joined: 1/25/2017
Posts: 18
I retested this. It looks that my app handled F5 key and web view trigger was not executed.
I'm sorry for the confusion.
Anyway, thanks for help!
eo_support
Posted: Friday, February 28, 2020 2:14:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Great. Glad that you found out the root cause.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.