mtnhan wrote:
Quote:
Hi everybody, I have a web page (ASP.NET) that contain a grid. I also
created a search dialog for this grid by iframe. That means I use
iFrame to make dialog (it looks like "Winlike" ).
I would like to use hot key Ctrl + F to so my search dialog. However,
Ctrl + F is fired by browser before my dialog show. Therefore, I can
show my dialog but find dialog of browser always show. Do you know
how to prevent find dialog from showing, just show my search dialog?
Thanks so much
mtnhan |
You don't say what event you are handling (onkeydown/up/press). In any
case, have you tried window.event.returnValue = false and the different
possible key events? Note that some generic hot-key combos are always
handled by the IE UI and can't be canceled.
--
Michael Harris
Microsoft MVP Scripting