why Multi select control losing style after postback?
I am using Listbox with Jquery method to add style to it as shown
<script type="text/javascript">
$(window).load(function () {
$('[id*=ckStores]').multiselect({
includeSelectAllOption: true
});
});
</script>
<asp:ListBox ID="ckStores" runat="server" CssClass ="multiselect-group" SelectionMode="Multiple" >
</asp:ListBox>
when page post back Listbox contol lost style and back to default bootstrab style .
Answers 1
Try to Load the multi-select code in the following way :