Data Binding to the Visible property on a drop down
Posted on 2009-07-15
I can successfully databind to the Checked property of a checkbox:
cboxRampEnabled.DataBindings.Add("Checked", _devicePresenter.Prescription, "RampEnabled");
but I can not databind to the Visible property of a drop down:
ddlHidden.DataBindings.Add("Visible", _devicePresenter.Prescription, "IsHiddenFieldVisible");
IsHiddenFieldVisible is a public boolean property of the object specified by _devicePresenter.Prescription.
Does anyone have any ideas? Does anyone know this is not possible?
Please let me know.