简体   繁体   中英

How to pop-up a calendar inside an ASP.NET Datagrid?

如何在ASP.NET + C#Datagrid中弹出日历?

You could just make it a text field, and then use one of many javascript libraries for calendars/datepickers.

Here is a list of 50 of them, with ratings and some basic info. You'll need one marked "Standalone" if you don't want to used any other javascript libraries, or you don't know what one of those is.

http://marcgrabanski.com/article/ultimate-list-of-datepickers

You'll need to create a TemplateColumn for a Submission Date text control and place an AJAX CalendarExtender in with it, this will do all the javascript for you.

See the below site for some useful tutorials on how to get started with AJAX and the Control Toolkit.

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM