cgosbee
Posts: 23
|
| Posted: 10/17/2007, 7:47 PM |
|
entity_id is a listbox
EntityNameLabel is a label
The following code works with respect to the label, but the listbox still shows up (although, now it shows without its bound data). Any ideas why?
if ($group_settings->EditMode)
{
$group_settings1->entity_id->Visible = false;
$group_settings1->EntityNameLabel->Visible = true;
}
else
{
$group_settings1->entity_id->Visible = true;
$group_settings1->EntityNameLabel->Visible = false;
}
|
 |
 |
mrachow
Posts: 509
|
| Posted: 10/18/2007, 12:03 AM |
|
Plese check the property Visible of the Listbox control itself.
It should be set to Dynamic.
_________________
Best regards,
Michael |
 |
 |
cgosbee
Posts: 23
|
| Posted: 10/18/2007, 11:44 AM |
|
Thanks! That was it alright!
|
 |
 |
|