1

HoverMenuExtender用于在我的 aspx 页面上显示一些可编辑的详细信息。

我可以PopDelay从后面的代码中设置值。

但我需要从Client Side使用中设置该值java-script

谁能告诉我我们如何PopDelay从客户端设置价值。

编辑-1

html标记

<div style="z-index:1000;float:right;padding-top:-2px;margin-top:-2px;">
    <asp:ImageButton ID="btnSetting" ToolTip="Report setting"
        ImageUrl="~/GridViewCSSThemes/Images/Setting-icon.png" runat="server" OnClientClick="return false;" />
</div>
<asp:Panel ID="DropPanel" runat="server" style="display :none; 
        visibility: hidden;border:2px solid #E5E5E5;padding-bottom:-1px;background-color:#F5F5F5;
        margin-top:-28px;overflow:hidden;height:auto;max-height:700px;
        max-width:1000px;">
    <div class="rptHead">
        Report Setting:
        <div style="float:right;width:50px;margin-top:-10px;">
            <asp:ImageButton ID="imgbtn" ImageUrl="~/GridViewCSSThemes/Images/PinOff.png" runat="server" 
                Width="40px" Height="40px" onclick="imgbtn_Click" ToolTip="Pin/unpin setting panal"/>
        </div>
    </div>
    Rest of controls..........
</asp:Panel>  
<ajaxToolkit:HoverMenuExtender OffsetY="25" OffsetX="35"
    ID="HoverMenuExtender1"  
    runat="server"  
    TargetControlID="btnSetting"  
    PopupControlID="DropPanel"  
    PopupPosition="Left"
    PopDelay="50" >  
</ajaxToolkit:HoverMenuExtender>

在这里PopDelay=50。当用户单击时,imgbtn我需要将PopDelay值设置为最大值。

在这里,我可以PopDelay从后面的代码进行设置,但是当用户单击时,有任何方法可以从客户端设置此值imgbtn

4

0 回答 0