hi all
 i am trying to select color from ajax color picker selected color
for this i used below code
      <asp:TextBox ID="TextBox5" runat="server" Width="117px">choose color</asp:TextBox>
        <cc1:ColorPickerExtender ID="ccd1" runat="server" TargetControlID="TextBox5" ></cc1:ColorPickerExtender>
in code behind i am trying to select selected color by using
   string  val=ccd1.SelectedColor;
and
System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml(TextBox5.Text);
but both code returing null value. please Suggest me how to get color