Disable an Imagebutton using C#

KevinKevin
KevinKevin used Ask the Experts™
on
Any ideas on disabling an imagebutton using C#?

Thanks in advance!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
set enabled property of the control to false.

myImage.Enabled = false;

Author

Commented:
I'm a total idiot...I didn't see that option in the dropdown and didn't think of just typeing it in...

Thanks!
UrImageButton.Enabled =False

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial