My panel features multiple collapsible filters that expand when a button is clicked. However, after each postback, the div collapses again. How can I ensure that the current state of the div remains consistent across postbacks?
<h4 class="contentFilterHeader">Start Date</h4>
<button type="button" class="btn" data-toggle="collapse" data-target="#startDate"></button>
<div id="startDate" class="collapse">
<label for="from">Before:</label>
<div class="form-group">
<div class="date">
<div class="input-group">
<input type="text" class="form-control" id="startPicker" runat="server" name="date" />
<span class="input-group-addon><span class="glyphicon glyphicon-calendar"></span></span>
</div>
</div>
</div>