Hi telerik team!
I'm trying to transmit the value of "KeyBoard Event" occurring at GridView to HtmlPage.
I had two problems when transmission of the value like Alt + F, D, G as below.
1) No detect "Alt" KeyDown Event in "MainPage_SpecKeyEvent" Method
2) When practice HtmlPage.Window.Invoke from MainPage_SpecKeyEvent Method,
it occurred "{System.AccessViolationException: Attempted to read or write protected memory} Exception".
FYI, my work source code is the followings.
public MainPage(String element)
{
InitializeComponent();
.......................... (omit)
this.DataGridView.KeyDown += new KeyEventHandler(MainPage_SpecKeyEvent);
}
public void MainPage_SpecKeyEvent(object sender, KeyEventArgs e)
{
HtmlPage.Window.Invoke("JavaScript Function", "Argument");
}
Please give us your advise above two problems .
Thank you for your help in advance .