returning 01/01/0001 as selected date

4 posts, 0 answers
  1. Regeesh Joseph
    Regeesh Joseph avatar
    55 posts
    Member since:
    May 2010

    Posted 24 Sep 2010 Link to this post

    Hai,

    If I click on a date, the calendar will return the selected date correctly. But if I click on the same date once more it will return the date as '01/01/0001' . But I want the selected date when I click on a date. Plz give the solution . It is an urgent one.

    Thanks & regards,
    Regeesh Joseph
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Sep 2010 Link to this post

    Hello Rageesh,


    One suggestion is saving the clicked date (unselected date) in a HiddenField from client event 'OnDateSelected', and accessing that (HiddenField) in code behind.  


    -Shinu.
  3. Regeesh Joseph
    Regeesh Joseph avatar
    55 posts
    Member since:
    May 2010

    Posted 24 Sep 2010 Link to this post

    Hai,

    If we take the date to hiddenfield, then what is the meaning of SelectedDate in code behind. The issue happens when we click on the same date second time. I want to know, why second time selected date is not returned. It returns 01/01/0001 as selected date. Why????  I didn't set the date as 01/01/0001 anywhere.

    Thanks & regards,
    Regeesh Joseph
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Sep 2010 Link to this post

    Hello Regeesh,

    The issue you are facing is actually the default behavior of the control and currently we do not plan to make changes on it. The second selection of the same date is actually unselecting it and the control returns the min available date.

    Sincerely yours,
    Maria Ilieva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top