This is a migrated thread and some comments may be shown as answers.
DateTimePicker
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
miri
Top achievements
Rank 1
miri asked on 19 Sep 2010, 09:55 AM

Hello,

I want to know how to use the datetimepicker with a single botton.
it's means that after I choose the date the timeView will apear.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 20 Sep 2010, 05:53 AM
Hello Miri,


You can easily achieve this by using the client side api of RadDatePicker.

Code:
        <telerik:RadDateTimePicker ID="startDate" runat="server" TimePopupButton-Visible="false">
            <ClientEvents OnDateSelected="OnDateSelected" />
        </telerik:RadDateTimePicker>
 
<script type="text/javascript">
    function OnDateSelected(sender, args) {
        sender.showTimePopup();
    }
 
</script>


-Shinu.
Asked by
miri
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or