Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser: Typing "~" on Danish keyboard Options
Jeppe HS
Posted: Friday, October 2, 2015 7:47:29 AM
Rank: Advanced Member
Groups: Member

Joined: 1/5/2015
Posts: 60
Hi

We've discovered an issue with typing special characters in the WebBrowser.
On a Danish keyboard we can't type "~" and related ã, ñ etc. in the WebBrowser.

The thing is, with a Danish keyboard layout, you type "~" using the right "Alt" (Or "Ctrl" + left "Alt") and the button located left of "Enter".
See this image: http://prntscr.com/8mv5ar

To reproduce this add Danish as a language in Windows and use a Danish keyboard layout.


This issue is reproduced with the latest build, 2015.2.65.0.

Hope you can help.

eo_support
Posted: Sunday, October 4, 2015 8:51:02 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,746
Hi,

Please try to set the WebControl's AutoProcessCmdKey to false and see if it resolves the issue for you. When this property is true, it automatically route special keyboard events (such as when the alt is down) occured inside the browser engine to the .NET side so that the .NET side shortcut can be triggered (for example, hot key for a menu item). However this can cause problem for your case. So you can set this property to false to avoid such problem. If you must have shortcut keys on your .NET side, you can use WebView.Shortcuts to achieve that.

Thanks!
Duka
Posted: Monday, October 5, 2015 1:47:46 AM
Rank: Newbie
Groups: Member

Joined: 1/16/2015
Posts: 5
Excellent, that solved my problem.

If we need shortcuts we'll use WebView.Shortcuts then :)


Thanks

Jeppe HS
Posted: Monday, October 5, 2015 1:49:04 AM
Rank: Advanced Member
Groups: Member

Joined: 1/5/2015
Posts: 60
Worked great.

Thanks :)
eo_support
Posted: Monday, October 5, 2015 8:36:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,746
Great. Glad to hear that it works for you! Please feel free to let us know if there is anything else.
Siemens
Posted: Wednesday, November 7, 2018 5:35:37 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2017
Posts: 2
Where can I find this option in the 2018 release, I'm experiencing the same issue and I can't find the Property anywhere?
eo_support
Posted: Wednesday, November 7, 2018 10:18:25 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,746
Siemens wrote:
Where can I find this option in the 2018 release, I'm experiencing the same issue and I can't find the Property anywhere?


Hi,

This property is available both on the Windows Form's version and WPF version of the WebViewHost class (which is the base class for the corresponding WebControl class):

https://www.essentialobjects.com/doc/eo.winform.webviewhost.autoprocesscmdkeys.aspx
https://www.essentialobjects.com/doc/eo.wpf.webviewhost.autoprocesscmdkeys.aspx

Exactly which version you use depends on whether your application is Windows Forms or WPF. For example, if your application is WPF based, then you would use the WPF version of the WebControl class (full class name EO.Wpf.WebControl) and you would access this property on that class.

Thanks!
Siemens
Posted: Wednesday, November 7, 2018 10:44:28 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2017
Posts: 2
Understood, that explains why I couldn't find it, because we are using the WebView directly. How do I navigate from the WebView to the WebControl?
eo_support
Posted: Thursday, November 8, 2018 5:51:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,746
Siemens wrote:
Understood, that explains why I couldn't find it, because we are using the WebView directly. How do I navigate from the WebView to the WebControl?


I am not aware that you would have problem if you use the WebView control directly. The WebControl is the control that performs additional special keyboard logic. The WebView on the other hand would just faithfully take whatever you type. Can you create a small test application and send the test application to us? See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

We will look into it as soon as we have it.


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.