hi,
i used ajax color picker to change label forecolor but on post back it loose values.
how to retain label forecolor on post back
<script type="text/javascript">
function selectedColorChanged(sender) {
sender.get_element().style.color = "#" + sender.get_selectedColor();
//sender.get_element().style.backgroundColor = "#" + sender.get_selectedColor();
document.getElementById("<%=Label55.ClientID%>").style.color = "#" + sender.get_selectedColor();
}
</script>
<asp:TextBox ID="TextBox5" runat="server" CssClass="form-control">000000</asp:TextBox>
<ajaxToolkit:ColorPickerExtender runat="server" BehaviorID="TextBox5_ColorPickerExtender" TargetControlID="TextBox5" ID="TextBox5_ColorPickerExtender" OnClientColorSelectionChanged="selectedColorChanged"></ajaxToolkit:ColorPickerExtender>