Rank: Newbie Groups: Member
Joined: 6/30/2009 Posts: 7
|
I need to place a ColorPicker inside of a HoverPanel. Unfortunately, so far any time I attempt to use the ColorPicker while inside the HoverPanel, it hides the HoverPanel and leaves the ColorPicker on-screen, but even when a color is chosen it does not update the ColorPicker once I re-open the HoverPanel.
<cc1:HoverMenuExtender ID="hmeButton" PopupControlID="pnlOptions" TargetControlID="Image1" runat="server"></cc1:HoverMenuExtender> <asp:Panel ID="pnlOptions" runat="server" style="background-color:Maroon; text-align:left; padding: 3px 3px 3px 3px;"> <eo:ColorPicker ID="ColorPicker1" runat="server" BackColor="#FF0066" Value='<%#(Eval("BackgroundColor")==null?System.Drawing.Color.Black:System.Drawing.Color.FromName(Eval("BackgroundColor").ToString()))%>' ControlSkinID="None" DesignOptions-BackColor="Black" OKButtonText="Ok" PopupShadowColor="#6600FF"> <PopupStyle CssText="background-color:black;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:#0751b8;font-family:arial;font-size:10pt;" /> <ButtonStyle CssText="" /> <PopupExpandEffect Type="GlideTopLeftToBottomRight" /> <TextBoxStyle CssText="border-right: #7f9db9 1px solid; border-top: #7f9db9 1px solid; border-left: #7f9db9 1px solid; border-bottom: #7f9db9 1px solid" /> <PopupCollapseEffect Type="GlideTopLeftToBottomRight" /> </eo:ColorPicker> </asp:Panel>
bl
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You won't be able to do that. ColorPicker itself is a popup so needs to be notified when its "parent popup" closes. Obviously this is not happening when you use HoverMenuExtender, which has no knowledge about our ColorPicker control. You can use our Menu control with a CustomItem and then place the ColorPicker inside the CustomItem for this case.
Thanks!
|