Hi,
I'm having a problem with the RadListBox, after I'm looping through the RadListBox and see which item has been checked, I'm clicking on save button
the list coming up again but I have empty checkboxes that been checked!!
what can cause that??
my code in asp.net
<table>
<tr>
<td style="text-align: left; vertical-align: top;" class="GeneralFontShapeSmall">
Locations:<span class="validationClass">*</span>
<div>
Total Selected:
<asp:Label ID="lblTotal" runat="server"></asp:Label>
</div>
</td>
<td style="text-align: left">
<telerik:RadListBox ID="rlbLocations" CheckBoxes="true" Width="260px" OnClientItemChecked="ShowTotalCheckedLocations" EnableViewState="false"
OnClientCheckAllChecked="ShowTotalCheckedLocations" ShowCheckAll="true" Height="163px"
runat="server">
</telerik:RadListBox>
</td>
</tr>
<tr>
<td> </td>
<td>
<telerik:RadButton ID="btnShowSelectedOnly" Text="Show Checked Only" ToggleType="CheckBox" Width="135px" AutoPostBack="false" OnClientClicked="toggleLocationShow" runat="server">
<ToggleStates>
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked"></telerik:RadButtonToggleState>
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox"></telerik:RadButtonToggleState>
</ToggleStates>
</telerik:RadButton>
</td>
</tr>
</table>
please see the attached file.
I'm having a problem with the RadListBox, after I'm looping through the RadListBox and see which item has been checked, I'm clicking on save button
the list coming up again but I have empty checkboxes that been checked!!
what can cause that??
my code in asp.net
<table>
<tr>
<td style="text-align: left; vertical-align: top;" class="GeneralFontShapeSmall">
Locations:<span class="validationClass">*</span>
<div>
Total Selected:
<asp:Label ID="lblTotal" runat="server"></asp:Label>
</div>
</td>
<td style="text-align: left">
<telerik:RadListBox ID="rlbLocations" CheckBoxes="true" Width="260px" OnClientItemChecked="ShowTotalCheckedLocations" EnableViewState="false"
OnClientCheckAllChecked="ShowTotalCheckedLocations" ShowCheckAll="true" Height="163px"
runat="server">
</telerik:RadListBox>
</td>
</tr>
<tr>
<td> </td>
<td>
<telerik:RadButton ID="btnShowSelectedOnly" Text="Show Checked Only" ToggleType="CheckBox" Width="135px" AutoPostBack="false" OnClientClicked="toggleLocationShow" runat="server">
<ToggleStates>
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked"></telerik:RadButtonToggleState>
<telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox"></telerik:RadButtonToggleState>
</ToggleStates>
</telerik:RadButton>
</td>
</tr>
</table>
please see the attached file.