Hi,

I remember seeing somebody else also wanting to Diable a button rather than
getting rid of the button altogether.

In the Internet applications world we survive with all kinds of tricks. So
here is a simple one:

In the button_onBeforeHtmlOutputEvent, change the TYPE=SUBMIT to TYPE=BUTTON
using CSpUtil.replaceSubstring or so. The button will not submit the form
anymore, disabled in effect.

Aby

> -----Original Message-----
> From: LadyNaureen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 25, 1999 2:48 AM
> To:   [EMAIL PROTECTED]
> Subject:      [ND] Visual Components -- How to create a shortcut key & How
> to disable a button without Script?
> 
> 
> Hello All,
> 
> Is there  any way I can disable a button during runtime without using
> script? since I want to disable a button for some users instead of hiding
> it.
> 
> It is very common to have short cut keys for buttons like for "Exit" we
> have "Alt + x" as a short cut key. Is there any method to achieve this?
> 
> Thanks.
> 
> Regards,
> LadyNaureen
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to