单击文本框时如何打开日历扩展程序 [英] How I can to open the calendar extender when click in the textbox
本文介绍了单击文本框时如何打开日历扩展程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用了日历扩展器ajax工具包...
我想在文本框中点击日历打开
....
我怎么做这个
我尝试过:
I used the the calendar extender ajax toolkit ...
I wanna when click in the textbox the calendar open
....
How i can do this
What I have tried:
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
<asp:TextBox ID="TextBitrh" runat="server" Width="120px"></asp:TextBox>
<asp:ImageButton ID="ImageButton1" runat="server" Height="25px"
ImageUrl="~/images (2).jpg" Width="25px" />
<asp:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy"
PopupButtonID="ImageButton1" PopupPosition="BottomRight"
TargetControlID="TextBitrh">
</asp:CalendarExtender>
推荐答案
试试这个例子可能有帮助
http://www.aspdotnet-suresh.com/2012/06 /ajax-calendar-extender-control-example.html [ ^ ]
Try this example may be it helps
http://www.aspdotnet-suresh.com/2012/06/ajax-calendar-extender-control-example.html[^]
检查这个
Ajax CalendarExtender打开,按钮和文本框在C#中单击 [ ^ ]
这篇关于单击文本框时如何打开日历扩展程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文