Trying to set dat.now in RadDate Picker

2 posts, 0 answers
  1. Kath
    Kath avatar
    2 posts
    Member since:
    May 2012

    Posted 18 Feb 2013 Link to this post

    Hi I have two date selectors using the RadDate control I would like to set the first date selector to be from today and not allow previous dates to be selected the second date control should only allow dates from the date selected in the first date box onward 

    datebox 1 date = 21/02/2013
    datebox 2 date => 21/02/2013 or later 
    with 
    <telerik:RadDatePicker ID="dpRequired1" runat="server" SelectedDate='<%# Bind("Required") %>'></telerik:RadDatePicker>

    any suggestions thanks
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 19 Feb 2013 Link to this post

    Hi Kath,

    Did you tried such approach:

    <telerik:RadDatePicker ID="dpRequired1" runat="server" SelectedDate='<%# Bind("Required") %>'></telerik:RadDatePicker>
    <telerik:RadDatePicker ID="dpRequired2" runat="server" MinDate='<%# Eval("Required") %>'></telerik:RadDatePicker>

    Regards,
    Vasil
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top