Rad Date time picker default time

6 posts, 1 answers
  1. Kavita
    Kavita avatar
    39 posts
    Member since:
    Feb 2013

    Posted 18 Aug 2014 Link to this post

    I have a rad date time picker in my website which shows time from 12:00 AM to 11:00 PM
    When user selects date, the time is set to 12:00 AM automatically.
    I want this time to be 7:00 AM instead of 12:00 AM.
    Also i want to show complete 24 hr time like it was showing it before (12:00 AM to 11:00 PM).
    Kindly provide some solution.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Aug 2014 in reply to Kavita Link to this post

    Hi Kavita,

    Please have look into this code library to achieve your scenario.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kavita
    Kavita avatar
    39 posts
    Member since:
    Feb 2013

    Posted 18 Aug 2014 Link to this post

    I have already try this link.
    If i set start time to 7:00 AM then in time view i am not able to show time till 6:00 AM.
  5. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Aug 2014 in reply to Kavita Link to this post

    Hi Kavita,

    Please do the following modification in the ASPX page which works fine at my end.

    ASPX:
    <telerik:RadDateTimePicker runat="server" ID="RadDateTimePicker1">
        <TimeView ID="TimeView1" runat="server" OnClientTimeSelecting="timeSelecting" TimeFormat="HH:mm:ss" />
        <ClientEvents OnDateSelected="dateSelected" />
    </telerik:RadDateTimePicker>

    Thanks,
    Shinu.
  6. Kavita
    Kavita avatar
    39 posts
    Member since:
    Feb 2013

    Posted 19 Aug 2014 in reply to Shinu Link to this post

    Hey thanks shinu.
    Your answered worked!!
  7. Kavita
    Kavita avatar
    39 posts
    Member since:
    Feb 2013

    Posted 19 Aug 2014 in reply to Kavita Link to this post

    Hey thanks shinu.
    Your answer worked!!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017