hi
How to running color picker in Ajax Modal Popup.
I have seen at sample AJAX Control Toolkit Color Picker Control in ASP.Net.
Color picker can't appear on popup but color picker appear behind form popup.
<asp:LinkButton Text="" ID = "lnkFake" runat="server" />
<cc1:ModalPopupExtender ID="mpe" runat="server" PopupControlID="pnlPopup" TargetControlID="lnkFake"
CancelControlID="btnClose" BackgroundCssClass="modalBackground">
</cc1:ModalPopupExtender>
<asp:Panel ID="pnlPopup" runat="server" CssClass="modalPopup530" Style="display: !none">
<div class="header">
<td style="text-align: left">
<asp:TextBox ID="TextBox37" runat="server" Width="340px"></asp:TextBox>
<br />
<div id="preview" style="width:70px;height:70px;border:1px solid #000;margin:0 3px;float:left"></div>
<asp:Button ID="Button5" runat="server" Text="Button" />
<cc1:colorpickerextender id="ColorPicker1" runat="server"
targetcontrolid="TextBox37" samplecontrolid="preview"
popupbuttonid="Button5" PopupPosition ="Right"
OnClientColorSelectionChanged = "Color_Changed" />
<script type = "text/javascript">
function Color_Changed(sender)
{
sender.get_element().modal.value = "#" + sender.get_selectedColor();
}
</script>
</td>
thanks