This is a migrated thread and some comments may be shown as answers.

Integrated DatePicker andTimePicker in ASP.Net

4 Answers 74 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 02 Feb 2009, 02:13 PM
Please guide me in implementing the DateTimePicker as shown in the below sample/figure.
http://www.telerik.com/products/aspnet-ajax/calendar.aspx#integrated-datepicker-and-timepicker-controls

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Feb 2009, 05:15 PM
Hello Sajid,

Here is an online demo with a RadDateTimePicker control:

http://demos.telerik.com/aspnet-ajax/calendar/examples/design/skins/defaultcs.aspx

You don't have to add several controls in order to get an integrated DateTimePicker. You only need this:

<telerik:RadDateTimePicker  ID="RadDateTimePicker1"  runat="server"  />


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andre Vovan
Top achievements
Rank 1
answered on 03 Feb 2009, 05:54 AM
no, sir what i want is..
to show time picker pop up after clicking the date in each each cell

as i  saw it on the figure....but no demo is dere....

now senrio is that
on first Popup.. only calender should be there  ..then if i click on the Date .. a timePicker should be dere......
is it possible..?
0
Accepted
Dimo
Telerik team
answered on 03 Feb 2009, 09:49 AM
Hello Andre,

I am sorry the image on our product page has been misleading - this is just a collage, which shows both the Calendar and the TimeView.

However, you can use the control's client API to make the TimeView popup appear once you have selected a date.

<telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server"
    <DateInput runat="server"
        <ClientEvents OnValueChanged="ValueChanged" /> 
    </DateInput> 
</telerik:RadDateTimePicker> 
 
<script type="text/javascript"
 
function ValueChanged(sender, args) 
    sender.get_owner().showTimePopup(); 
 
</script> 


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andre Vovan
Top achievements
Rank 1
answered on 03 Feb 2009, 04:40 PM
Thanks :)
Tags
Calendar
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Andre Vovan
Top achievements
Rank 1
Share this question
or