Solved

How to Add a DatePicker Control for Both Date and Time to C#/ASP..NET project

Posted on 2011-09-20
2
313 Views
Last Modified: 2012-05-12
I am attempting to create a new asp.net site that will allow a user to search through a series of tables based on specified criteria that they enter. In order for the user to be able to narrow down their search, I need to be able to add the equivalent of a datetimepicker, similar to that in C# Windows forms, to an ASP.NET 3.5 project. (I am still a beginner at ASP.NET and C#, so I apologize in advance if this is a trivial request.) Could someone help me find the correct control that I would need to use, or point me in the direction that I would need to follow to be able to pull the date and time entered by the user? (The data will need to be pulled from the ASPX page via C# to be used to query a database and their will be two date fields, one being a "Date From" value and the other being a "Date To" value.)

Thank you to anyone whom can help me track down the correct control for this requirement.
0
Comment
Question by:thenthorn1010
2 Comments
 
LVL 12

Accepted Solution

by:
jagssidurala earned 250 total points
ID: 36568842
0
 
LVL 16

Assisted Solution

by:disrupt
disrupt earned 250 total points
ID: 36568913
I've used this one before:

http://trentrichardson.com/examples/timepicker/

works well.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question