[SOLVED] KeyEventArgs & EventArgs is not supported

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
Anupam
Posts: 6
Joined: Mon Jan 30, 2017 10:36 pm

[SOLVED] KeyEventArgs & EventArgs is not supported

Postby Anupam » Mon Feb 06, 2017 6:16 am

Hi,

KeyEventArgs & EventArgs is not supported.

Can somebody help me on this?.

Regards,
Anupam

Anupam
Posts: 6
Joined: Mon Jan 30, 2017 10:36 pm

Re: KeyEventArgs & EventArgs is not supported

Postby Anupam » Fri Apr 21, 2017 4:40 am

Hi All,

"KeyEventArgs.PlatformKeyCode" Property is currently not supported.

Also, In My CS.Code I need to implement "e.PlatformKeyCode == 189" where "e" is inherited from the KeyEventArgs Method.

Kindly Advise
Anupam

JS-Support
Site Admin
Posts: 739
Joined: Tue Apr 08, 2014 3:42 pm

Re: KeyEventArgs & EventArgs is not supported

Postby JS-Support » Fri Apr 21, 2017 11:30 am

Hi,

We have just added support for "PlatformKeyCode" for you in the Beta 11.5, available at:
http://forums.cshtml5.com/viewtopic.php?f=6&t=8006

Please note that, as the name suggests, the value depends on the browser. For example, the dash ("-") is 187 on IE and Chrome, but 173 on Firefox. To determine your current browser, you can use Interop.ExecuteJavaScript to check the existance of the following JS variables: window.IE_VERSION, window.ANDROID_VERSION, and window.FIREFOX_VERSION. You can see where those variables are defined by opening the file "cshtml5.js" that is located in the "Libraries" subfolder of your Output folder.

Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest