如何从日历控件中的文本框中获取日期

问题描述:

我有一个小组.在该面板中,有一个文本框用于某些输入,而另一个文本框用于从日历控制中获取日期.我已经在第二个文本框(即txtDate)下方放置了压光机控件,但是我不希望在加载页面时显示它,而是希望获得一小张压光机图像,并在单击该图像时应弹出一个压光机并选择日期必须由txtdate文本框捕获.请帮助我与.aspx和.cs文件.我在C#

I have a panel. in that panel there is one text box for some input and another one for taking date from calender control. i have put calender control below the second text box(i.e. txtDate), but i dont want it to be displayed when the page is loaded,instead i want a small image of calender and on clicking that image a calender should pop up and selected date must be captured by txtdate textbox. Please help me with .aspx and .cs file. I m using asp.net with C#


中使用asp.net
试试这个.

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx [ ^ ]
Hi,

Try this.

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx[^]