Click here to Skip to main content
12,348,846 members (68,294 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
In my project i want to display and select date In ASP.net there are no datetimepicker tool how to get it in ASP.net .Please anyone can help me

Thank you
Posted 21-Dec-11 18:56pm
devausha1.5K
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 6

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>jQuery UI Datepicker - Default functionality</title>
    <link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
    <script src="http://jqueryui.com/jquery-1.6.2.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.datepicker.js"></script>
    <link rel="stylesheet" href="http://jqueryui.com/demos/demos.css">
    <script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
    </script>
</head>
<body>
 
<div class="demo">
 
<p>Date: <input type="text" id="datepicker"></p>
 
</div><!-- End demo -->
 

 
<div class="demo-description">
<p>The datepicker is tied to a standard form input field.  Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.  Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>
</div><!-- End demo-description -->
 
</body>
</html>
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

you can use calender control available in the tool box. you can also use the Calender extender Ajax control.

check these links..

Calender Web control[^]

Ajax Calender Extender[^]

Calender[^]

Calender Class[^]

hope this helps..
  Permalink  
Comments
thatraja 22-Dec-11 8:22am
   
5!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

In asp.net thers is no datetime picker control . there is calender control.
if you want to add datetime picker control then u have to add ajax extenders
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

hi

you can use custom data time picker control

Sample

More control

obout control
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 5

Try this:

DateTimePicker Web Control[^]

hope it helps Smile | :)
  Permalink  
Comments
thatraja 22-Dec-11 8:22am
   
5!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Alternatively you may use Javascript/jQuery date-pickers

jsDatePick[^]
You can find more in Google.
  Permalink  
Comments
Karthik Harve 22-Dec-11 1:06am
   
nice link.. my 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 22 Dec 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100