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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top