Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone!

I have written a custom user control (.ascx) which is put on my asp.net page inside a panel.
When I disable the panel (because I don't want the user to be able to change content) my user control also disables which is expected behavior of course.

So far, so good.
Here comes the twist: There is a linkbutton on my usercontrol that should NOT be disabled EVER.

Does anybody know how I can override the disabling behaviour of a specific control?
It would also be okay to ignore disabling the whole custom control and then handle enable/disable by myself. Can I override a "ondisable"-event or something?

Greetings,

Felix
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900