问题描述
我正在使用donet framework 2.0,在我的.aspx页面中,我正在使用Ajax Calender Extender.i添加参考ajaxtoolcontrol.我给适当的popbuttonid和targetcontrol.在运行时,这不会产生任何类型错误,但是当我单击popbutton进行弹出时,则无法在弹出窗口中显示.请问有人可以帮助我吗?
提前致谢.
这是我的calanedr编码.
< cc1:CalendarExtender ID ="CalendarExtender1" runat =服务器" PopupButtonID ="ImageButton2" TargetControlID ="TextBox1" Format ="dd/MM/yyyy" PopupPosition ="BottomRight">
Hi i am using donet framework 2.0, In My .aspx page, i am using Ajax Calender extender.i add reference ajaxtoolcontrol. and i give proper popbuttonid and targetcontrol. during run time this not give any type error, but ehen i click on popbutton for popup, then it is unable in popup. plz can any one help me.
Thanks in advance.
this is my calanedr coding.
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="ImageButton2" TargetControlID="TextBox1" Format="dd/MM/yyyy" PopupPosition="BottomRight" >
推荐答案
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:TextBox ID="txtStartDate" runat="server" CssClass="textbox"></asp:TextBox><code></code>
<asp:ImageButton ID="ibtnSatrtDate" runat="server" Height="16px" Width="16px" ImageUrl="~/images/Calendar.png" />
<cc1:CalendarExtender ID="txtStartDate_CalendarExtender" runat="server" Enabled="True"
TargetControlID="txtStartDate" PopupButtonID="ibtnSatrtDate">
</cc1:CalendarExtender>
这篇关于ajax日历弹出窗口无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!