setting default date on datepicker pop up only

6 posts, 0 answers
  1. Roger
    Roger avatar
    183 posts
    Member since:
    Sep 2007

    Posted 29 Jul 2008 Link to this post

    Hi,

    I was wondering if there was a way to set the default date on the pop up calendar of a date picker without entering the date in the input box?

    Regards
    Roger
  2. Roger
    Roger avatar
    183 posts
    Member since:
    Sep 2007

    Posted 29 Jul 2008 Link to this post

    Hi,

    I have found the solution using the "Special Days" example.

    Now is there anything to set the defult time on the RadTimeView control?

    Regards
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 31 Jul 2008 Link to this post

    Hello Roger,

    Unfortunately the Calendar's API does not provide such functionalities for the TimeView component.

    Best regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Chummy
    Chummy avatar
    9 posts
    Member since:
    Aug 2011

    Posted 23 Nov 2011 Link to this post

    Hi Maria, is it possible to have the DatePicker show today's date as the default value?

    Thank you

    Kind regards
    Gary (gary@sharepoint360.com)

  6. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Nov 2011 Link to this post

    Hello,

    You can set the SelectedDate property of RadDatePicker as today's date.

    Thanks,
    Princy.
  7. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 23 Nov 2011 Link to this post

    Hello Chummy,

    You could set the following:
    RadDatePicker1.SelectedDate = DateTime.Today;

    I hope this helps.

    Kind regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017