Changing properties as an event response.

P

Peter

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 ?

Thanks in advance..
 
T

Teemu Keiski

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?
 

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

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top