E
Eric
I have the both of the following lines that do not appear to work. It calls
the binding function but the control when rendered does not carry the
correct checked value:
NOTE: this is within the EditItemTemplate
<asp:CheckBox Text='Active' ID="chkReportActive" Runat=server
Checked='<%#GetCheckedStatusReturnBool(DataBinder.Eval(Container.DataItem,"Active"))%>'
/>
<asp:CheckBox Text='Active' ID="chkReportActive" Runat=server
Checked='<%#DataBinder.Eval(Container.DataItem,"Active")%>' />
Is the Checked attribute not the correct one to use?
Thanks,
Eric
the binding function but the control when rendered does not carry the
correct checked value:
NOTE: this is within the EditItemTemplate
<asp:CheckBox Text='Active' ID="chkReportActive" Runat=server
Checked='<%#GetCheckedStatusReturnBool(DataBinder.Eval(Container.DataItem,"Active"))%>'
/>
<asp:CheckBox Text='Active' ID="chkReportActive" Runat=server
Checked='<%#DataBinder.Eval(Container.DataItem,"Active")%>' />
Is the Checked attribute not the correct one to use?
Thanks,
Eric