all groups > asp.net building controls > january 2005 >
You're in the

asp.net building controls

group:

Changing properties as an event response.


Changing properties as an event response. perencia NO[at]SPAM gmail.com
1/21/2005 7:53:26 PM
asp.net building controls:
Hi all...
This is the situation:
A page with a button and a custom control.
The custom control sends an event.
The page is notified and then turns the button.Enabled property to
false.
All of this is done before the Page Render event; but when it's going
to be rendered the Enabled property hasn't really changed and it
stills been true.
So anyone knows where this property is stored and how can i access it
in this situation ?

Re: Changing properties as an event response. Teemu Keiski
1/27/2005 9:29:35 AM
Hi,

How do you mean it has not been changed? Are you mixing it up with Visible
property whioch controls if control is rendered at all? If Button is
disabled it should be grayed out. If this doesn't happen how and where is
the button declared on the page, is it perhaps a dynamical control?

--
Teemu Keiski
ASP.NET MVP, Finland


[quoted text, click to view]

AddThis Social Bookmark Button