vikaskalra
Technical User
Hi !!
I have a Checkbox control, which I have placed inside a repeater control. I have to conditionally show it checked / unchecked.
It works fine when I select the first set of Values from a dropdown list box.
Now when I change the selection in the Dropdown and re-load the page, although from Code Behind, is setting the Checked property to True / False as the case may be, but when the page is done, it is showing only the previous selection.
FYI
<asp:CheckBox EnableViewState=False ID="ChkView2" Runat="server" Checked='<%# SetCheckUncheck(Container.DataItem(0),"View"%>'></asp:CheckBox>
The call to SetCheckUncheck returns True / False as the case may be.
Any help will be greatly appreciated.
Regards,
Vikas
I have a Checkbox control, which I have placed inside a repeater control. I have to conditionally show it checked / unchecked.
It works fine when I select the first set of Values from a dropdown list box.
Now when I change the selection in the Dropdown and re-load the page, although from Code Behind, is setting the Checked property to True / False as the case may be, but when the page is done, it is showing only the previous selection.
FYI
<asp:CheckBox EnableViewState=False ID="ChkView2" Runat="server" Checked='<%# SetCheckUncheck(Container.DataItem(0),"View"%>'></asp:CheckBox>
The call to SetCheckUncheck returns True / False as the case may be.
Any help will be greatly appreciated.
Regards,
Vikas