G
Guest
Hi there, I have put some web controls, textboxes and drop down lists, in a
Panel, so that under a certain condition i can disable all fields for input.
I read in Help that disabling a Panel control (enabled=false) will disable
all child controls within it - just what i want. but it just doesnt work.
panMyPanel.Enabled=false; does absolutely nothing. panMyPanel.Visible=false
does hide the whole section, so i know i'm referencing it properly. Why wont
Enabled work? It is not within a datagrid or repeater or anything just in the
form tag. Do I really have to iterate through panMyPanel.Controls (i may
aswell not use the panel)
Thanks
Panel, so that under a certain condition i can disable all fields for input.
I read in Help that disabling a Panel control (enabled=false) will disable
all child controls within it - just what i want. but it just doesnt work.
panMyPanel.Enabled=false; does absolutely nothing. panMyPanel.Visible=false
does hide the whole section, so i know i'm referencing it properly. Why wont
Enabled work? It is not within a datagrid or repeater or anything just in the
form tag. Do I really have to iterate through panMyPanel.Controls (i may
aswell not use the panel)
Thanks