Welcome Guest Search | Active Topics | Sign In | Register

ColorPicker inside of a HoverPanel Options
tbrentlong
Posted: Wednesday, November 4, 2009 4:25:02 PM
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
eo_support
Posted: Thursday, November 5, 2009 7:01:48 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.