我的代码是:
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:Panel ID="Panel1" CssClass="modalPopup" runat="server">
<div id="modal" runat="server">
<asp:TextBox ID="TextBox1" runat="server" Visible="true"></asp:TextBox>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender1" TargetControlID="TextBox1" Minimum="1"
runat="server">
</cc1:NumericUpDownExtender>
</div>
</asp:Panel>
<cc1:ModalPopupExtender ID="ModalPopupExtender1" PopupDragHandleControlID="modal"
BackgroundCssClass="modalBackground" TargetControlID="Button1" PopupControlID="Panel1"
runat="server">
</cc1:ModalPopupExtender>
</form>
</body>在这里,模式弹出窗口没有显示我的数字向上向下扩展,我不知道是什么问题here.FYI:我在IE8中运行我的代码。
发布于 2011-07-14 03:37:26
NumericUpDownExtender控件的Width属性中必须有一个值。
例如:
<asp:TextBox ID="txtLeftNumeric" Width="50px" runat="server"></asp:TextBox>
<ajaxToolkit:NumericUpDownExtender ID="ajaxNumericLeft"
runat="server" Width="60"
TargetControlID="txtLeftNumeric">
</ajaxToolkit:NumericUpDownExtender>https://stackoverflow.com/questions/2590454
复制相似问题