DateTimePicker

2 posts, 0 answers
  1. miri
    miri avatar
    8 posts
    Member since:
    Sep 2010

    Posted 19 Sep 2010 Link to this post


    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Sep 2010 Link to this post

    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.
Back to Top