
Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Hi Dave,
As for the ImageButton it is rendered as <input type="image" src="...."
/>, when you set its "Enabled=false", it is rendered as
<input type="image" disabled="disabled" .../>
And the image will still display as normal, it is only the postback/submit
behavior that will be disabled. If you want to make the button also
display the image like a disabled one(masked), you need to change the
imagebutton's url to another image (has the picture look as disabled one).
e.g.
if(imageButton.Enabled == false)
{
imageButton.Src = "disabled image url";
}
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
David Thielen - 30 Oct 2006 17:24 GMT
Hi;
That's what I thought - but figured I should ask in case ASP had some better
solution.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
> Hi Dave,
>
[quoted text clipped - 24 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Steven Cheng[MSFT] - 31 Oct 2006 04:03 GMT
Thanks for your reply Dave,
So far ASP.NET server control also provide the same disable behavior as
HTML element.
Please feel free to let me know if you have any other questions or ideas on
this.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.