Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Disabling button on a webform

Hi Guys,
i have 4 buttons on a webform, and i want to disable one button based on the condition.
can you guys help me with code..?
thanks
[155 byte] By [saidev] at [2007-11-11 7:39:25]
# 1 Re: Disabling button on a webform
If you want to disable it from the server (i.e., during a postback), set the button's .Enabled property to False. If you want to disable it on the client (i.e., without a postback), you'll have to use JavaScript: http://www.faqts.com/knowledge_base/view.phtml/aid/1747
Phil Weber at 2007-11-11 23:13:39 >