单击文本框时显示月份和年份日历 [英] To Display Months and Year Calendar whenever clicking on the text box

查看:153
本文介绍了单击文本框时显示月份和年份日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在aspx中创建了一个网页。我想在其中显示月份和年份日历,



每当我点击文本框时。选择了日历中的选择月份和年份



控制我想在文本框中显示月份和年份..



i我期待那个CSS样式和Java脚本事件..





你可以帮忙吗?

Hi, i created one webpage in aspx. in which i want to display the Months and Year calendar,

whenever i am clicking in the text box. after picked the selective month and year in the calendar

control i want to display that Month and Year in the text box..

i am expecting the CSS Styles and Java script Events for that..


can u help??

推荐答案

阅读本文....



http://www.ajaxtoolkit.net/Calendar/Calendar.aspx


请查看以下网址。



Jquery datepicker



示例

< a href =http://jsfiddle.net/renjuvinod/AfxfD/> Jquery datepicker示例
Please check the below urls.

Jquery datepicker

Sample
Jquery datepicker sample


嗨...

这里添加引用ajaxcontrolto olkit.dll。然后写

Hi...
Here add reference ajaxcontroltoolkit.dll. And then write
 <asp:textbox id="TextBox1" runat="server" xmlns:asp="#unknown"></asp:textbox>
<asp:calendarextender id="calext1" runat="server" targetcontrolid="TextBox1" format="yyyy-MM-dd" cssclass="calext1" xmlns:asp="#unknown"></asp:calendarextender>



它将显示年度和月度明智。

谢谢你。


It wil show year and monthly wise.
Thank u.


这篇关于单击文本框时显示月份和年份日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆