RadDate.clear() not showing Calendar

2 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 24 Feb 2009 Link to this post


    I have two RadDatePickers on a form, using a shared Calendar, and all works OK expect I want to clear then down on a button click (server side, because other controls are also being cleared).  It does clear the datepickers OK, but afterwards the shared Calendar does not appear when I click on the calendar button on either date.  Any idea why?

    Definition in aspx:
    <telerik:RadDatePicker ID="dateFrom" runat="server"   
                            SharedCalendarID="RadCalendar1"  AutoPostBack="True"   
                            Culture="English (United Kingdom)">  
                            <DateInput runat="Server" AutoPostBack="True">  
                            <Calendar runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" 
                            <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> 

    Code used on button_click:

    Before I run this code the datepicker button works.  After running the code the datepicker button does not work.  I have also tried adding: dateFrom.SharedCalendar = RadCalendar1 afterwards and still no Calendar being displayed.

    David Penny
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Feb 2009 Link to this post

    Hi David,

    I have found one forum thread discussing a similar issue "Clear datepicker value "

    And also here is theonline demo explaining the date clear functionlaity

  3. DevCraft R3 2016 release webinar banner
Back to Top