ListBox变为非活动状态. [英] ListBox become inactive.
问题描述
大家好,
我有一个奇怪的问题.我正在使用Ajax的ModalPopExtender弹出更新面板.使用相同的更新面板将道具向上拖动.如果我使用另一个控件来拖动弹出窗口,则它将无法移动.如果我将更新面板作为DragcontroID,则弹出窗口是可移动的.
现在的问题是,如果我将更新面板作为DragContrlID,则列表框不允许从同一列表框中选择任何项目.我可以对诸如文本框,单选按钮之类的弹出控件进行更改,但不允许列表框.
这是一些代码详细信息.
Hi all,
I have some kind of weird problem. I am using ModalPopExtender of Ajax to popup a update panel. The same update panel is used to Drag the prop up. If I make another control to drag the pop up then it does not movable. If I take update panel as DragcontroID then popup is movable.
Now the problem is that, If I take update panel as DragContrlID then list box not allowing select any item from the same Listbox. I can do changes on the control of the popup like Textbox, RadioButton but list box is not allow.
Here is some code details.
<ajax:ModalPopupExtender ID="mdlPupExtPerioComparison" runat="server" BackgroundCssClass="modalBackground"
CancelControlID="btnPerioComparisonCancel" OkControlID="btnPerioComparisonOk"
OnCancelScript="" OnOkScript="" Drag="true" PopupControlID="updPnlComparison"
PopupDragHandleControlID="rowPerioComparisionHeader" TargetControlID="btnDummyPerioComparison">
</ajax:ModalPopupExtender>
<asp:UpdatePanel ID="updPnlComparison" runat="server" RenderMode="Inline">
<ContentTemplate>
<div id="divPerioComparison" runat="server" class="HiddenControl">
<asp:Panel ID="pnlPerioComparison" runat="server" Width="600px" Height="340px" BackColor="#EFEFEF">
<table runat="server" id="rowPerioComparisionHeader" class="Width100 Header" cellpadding="0" cellspacing="0">
<tr>
<td class="PaddingLeft4 Width100 Height20px">
<asp:Label ID="lblComparisonPopUpHeader" runat="server" Font-Bold="true"></asp:Label>
</td>
<td class="PaddingRight5">
<asp:Button ID="btnHeaderPopUpClose" CssClass="Button ButtonClose" runat="server"
OnClientClick="$find('mdlPupExtPerioComparison').hide(); return false;" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
因此,我尝试拖动到弹出窗口,但没有拖动.
如果我将Panel用作DragControl Id,则它将在底部的页面上固定,并且似乎不会弹出.
谢谢
Anil
So I am trying to drag to popup but it is not dragging.
If I take Panel as DragControl Id then it is going to be fixed on the page at bottom and does not seems like a pop up.
Thanks
Anil
推荐答案
find('mdlPupExtPerioComparison').hide(); return false;" / < /td > < /tr > < /table > < /ContentTemplate > < /asp:UpdatePanel >
find('mdlPupExtPerioComparison').hide(); return false;" /> </td> </tr> </table> </ContentTemplate> </asp:UpdatePanel>
因此,我尝试拖动到弹出窗口,但没有拖动.
如果我将Panel用作DragControl Id,则它将在底部的页面上固定,并且似乎不会弹出.
谢谢
Anil
So I am trying to drag to popup but it is not dragging.
If I take Panel as DragControl Id then it is going to be fixed on the page at bottom and does not seems like a pop up.
Thanks
Anil
ModalPopupExtender不可拖动,应该使用DragPanelExtender
ModelPopupExtender用于固定形式的弹出窗口,直到关闭后才会移动.
ModalPopupExtender is not draggable you should be using a DragPanelExtender
ModelPopupExtender is meant for a fixed form popup which will not move until it is closed.
这篇关于ListBox变为非活动状态.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!