【问题标题】:asp:ColorPickerExtender popuppositionasp:ColorPickerExtender 弹出位置
【发布时间】:2015-05-04 08:19:10
【问题描述】:

我遇到了问题。我尝试添加 asp:ColorPickerExtender 但是当我设置 popUpPosition 时不会改变我的颜色选择器位置的位置。

                                <asp:LinkButton ID="btnCustomTheme" runat="server" CssClass="boutonCustomColor"
                                Width="100" Height="100" Style="margin: 5px; text-decoration: none; text-align: center;"
                                OnClick="btnCustomTheme_Click" Text="Custom"><img src="../images/plus.png" />

                            </asp:LinkButton><asp:TextBox ID="txtCustomColor" Style="display: none;" runat="server">

                            </asp:TextBox><asp:ColorPickerExtender ID="colorPicker" runat="server" TargetControlID="txtCustomColor" PopupButtonID="btnCustomTheme" PopupPosition="Center">
                            </asp:ColorPickerExtender>

你对此有什么想法吗?

谢谢

【问题讨论】:

    标签: asp.net .net ajax


    【解决方案1】:

    来自here

    PopupPosition - 指示颜色选择器弹出窗口应出现的位置 在 BottomLeft(默认)、BottomRight、TopLeft、TopRight、Left 或 文本框的右侧。

    PopupPosition 没有 Center

    【讨论】:

    • 那没有任何改变,我的弹出窗口继续出现在左上角:/
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-12
    • 2021-01-26
    相关资源
    最近更新 更多