Ask a Question related to ASP.NET General, Design and Development.
-
Vidar Petursson #1
Re: Can I have a Cancel button?
Hi
<element onkeydown="if(event.keyCode == 27 ) doSomething()"....
<body onkeydown="if(event.keyCode == 27 )
document.forms['FORMNAME'].CANCELBTN.click()"
More info
[url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/obj_event.asp[/url]
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Paul" <qwe@qwe.com> wrote in message
news:08be01c34ac2$baeb75d0$a601280a@phx.gbl...> Hi
>
> Whats the easiest way to get a 'Cancel' button that
> responds to the ESC key and responds to an event, just
> like in Windows apps (clientside)? Do I need to hook up
> an onkeypress event on the form or is ther an easier way?
>
> Thanks, Paul.
Vidar Petursson Guest
-
Submit and Cancel
Hi guys, And another very simple one. I actually stumbled for the 1st time on a situation where I'd like to have 2 buttons on a form, one to... -
Edit, Update, Cancel Push button question
I have a Edit, Update, Cancel column in my datagrid form modifying the data in each row. These buttons are of type PushButton rather than... -
Cancel Print Job and More
I am running Acrobat 4.05a on Windows XP Pro. On some Excel 2002 files, when I try to print an entire workbook (10 sheets or so), Distiller will... -
Cancel As Integer
If an event procedure include the argument Cancel As Integer, you can cancel the event with: Cancel = True For example, if you want to stop the... -
Cancel this post
Never mind, I just realized that I can process the input in the form rather than the textbox. God Bless, Mark A. Sam



Reply With Quote

