Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser Print command in contextual menu Options
Fabien
Posted: Monday, July 21, 2014 11:23:05 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 129
Hi,

We actually try your EO.WebBrowser component before buy it for use it in our solutions.

We encounter a problem with the Print command of the contextual menu : when you click on the default Print of the contextual menu, nothing happens.

FYI, when we call the .Print() method everything works well.

We have reproduced this problem on 3 PCs (XP, 7 & 8) with the TabbedBrowser_VB project.

Thanks for your your help.

Fab
eo_support
Posted: Monday, July 21, 2014 11:40:27 AM
Rank: Administration
Groups: Administration

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

The default context menu provided by EO.WebBrowser does not have print. If you have added print to the menu with code through custom command, you must handle the WebView's Command event and call this method in your event handler:

http://www.essentialobjects.com/doc/6/eo.webbrowser.webview.print_overloads.aspx

Thanks!

Fabien
Posted: Monday, July 21, 2014 12:29:41 PM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 129
In your TabbedBrowser_VB (and TabbedBrowser_CS too) samples there is a Print option in the context menu (v 3.0.68.0) between "Forward" and "View source".

When we use the EO.WebBrowser.dll v 3.0.68.0 in a new project without custom anything, there is a "Print" command too...

For see it, just comment the line
Code: C#
e.Menu.Items.Clear();
in the MainWindow.xaml.cs of your TabbedBrowser_CS project.

Screenshot here : http://fr.tinypic.com/r/o7vhgz/8
eo_support
Posted: Tuesday, July 22, 2014 10:39:38 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
Thanks for the additional information. We were able to reproduce and fix the problem. Please see your private message for the download location of the new build that contains the fix.
Fabien
Posted: Wednesday, July 23, 2014 3:01:10 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 129
Your fix works well! Thanks for that!
eo_support
Posted: Wednesday, July 23, 2014 9:13:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,072
You are very welcome. Please feel free to let us know if there is anything else.

Thanks!


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.