Using accelerators when hosting a windows form in a browser

T

Toby

Hi,
I'm hosting a .net windows form in a browser.
The web form reacts to accelerator keys and key-down events but i
cannot get notification about these events when the form is hosted in
the browser.
Is this a known problem?
Any known solution?

Thanks,
Toby.
 
B

Bryan Phillips

If you make the event handlers in the Windows form public, you can call
them manually from client-side script functions.
 
T

Toby

Thanks Bryan.
But this is not an acceptable solution for me.
The form contains a toolbar with shortcut keys and it doesn't make
sense that my script (or any new script that hosts my control for that
matter) will have to know these shortcut keys and their handlers.
I'm sure i'm missing something here - there must be a 'right' way to do
that, no?

Toby.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top