disabling custom controls

  • Thread starter Thread starter Alon
  • Start date Start date
A

Alon

Hi,

I created a button control, which inherits from
System.Web.UI.LinkButton.
I wrote a function which disables all the web controls
and the HTML controls on the page, but for some reason,
the custom button remains enabled.
What is the reason, and what can I do ? I know I can use
the findControl for this specific control, but I want
something more generic.

Thanks,
Alon
 
Hi Alon,

How exactly do you disable the controls? Could it be that your custom
control does not respect the value of the Enabled property when it renders
itself?
 
Back
Top