Enable property of a Panel not functioning

G

Guest

Hi,

I have a form which can be in edit or read mode. I did this form before i
discovered edit and item index of datagrids though so have to stick with a
straight entry form, and disabling the web controls. I was going to loop
through every web control but then i discovered Panels and read, in the MSDN
help, that setting enabled to false would disable all the controls within a
panel, and got quite excited. But I set

myPanel.Enabled=false;

and absolutely nothing happens, the controls are all editable. I know i am
referecing the right set of web controls because if i change it to
Visible=false, they correctly dissapear. Has anyone heard of a bug with this
feature, or am i missing a step? Are there any microsoft moderators out there
who can shed light on this? thanks.
 

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

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,829
Latest member
KimberAlli

Latest Threads

Top