This is a migrated thread and some comments may be shown as answers.

RadDatePicker only shows todays date

6 Answers 179 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Tina Christiansen
Top achievements
Rank 1
Tina Christiansen asked on 03 Mar 2010, 03:00 PM
I'm new at Telerik controls
Has anybody seen this problem before? I'm using a RadDatePicker (Ajax) and everytime i pick a date in the calendar it writes to days date in the indput field. the year changes but the day and month does not.

There is no error and i can change the date in the indput field and the right date gts posted back.

Does anybody have an idea to what could be wrong?

Tina

6 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Mar 2010, 11:51 AM
Hello Tina,

I would suggest you to open a formal support ticket and send us a small sample project demonstrating the erroneous behavior. This way we would be able to debug it locally and provide you more to-the-point resolution.

Regards,
Martin
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.
0
Pat
Top achievements
Rank 1
answered on 28 Apr 2010, 01:43 PM
I am seeing the same results as what Tina has explained.  I will be submitting a ticket, but wanted to see if I could get some more public interest in this one first.

Have there been any fixes or identified reasons as to why this is occurring?  Below is an example of 1 of the 10 RADDatePickers on the webform. 

<telerik:RadDatePicker ID="rdpStartEnterDate" runat="server"   
MinDate="1980-01-01"   
MaxDate="2100-12-31" DateInput-EmptyMessage="From"   
Skin="Windows7" SharedCalendarID="calShared" Width="100px"   
DatePopupButton-CssClass="RADDateButton" DatePopupButton-ImageUrl="~/Images/Calendar_scheduleHS.png"   
DatePopupButton-HoverImageUrl="~/Images/Calendar_scheduleHS.png"

One thing to note, and I don't know if this would effect anything, but I am using a common RADCalendar (code posted below).
<telerik:RadCalendar ID="calShared" runat="server" RangeMinDate="1980-01-01" MaxDate="2100-12-31" Skin="Windows7" /> 

Thanks
Pat         
0
Tina Christiansen
Top achievements
Rank 1
answered on 28 Apr 2010, 02:00 PM
Good to hear that I'm not the only one with that problem. I have not submitted a ticket because I'm new in the company and have'nt got access but I'm still interrestet in a solution.
0
Pat
Top achievements
Rank 1
answered on 28 Apr 2010, 02:03 PM
I submitted a ticket and should have some response within 24hrs (per support agreement).  I will post my findings to this thread when there's helpful information.

Good luck for now Tina,

Pat
0
Pavel
Telerik team
answered on 30 Apr 2010, 03:31 PM
Hello guys,

We are not able to reproduce the described problem locally. We have one additional report about the same issue however all attempts to replicate it on our end fail. Could your provide more details about the systems you are testing this on? Can you reproduce it on any of our online examples? Any additional information is welcome.

Best wishes,
Pavel
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.
0
Pat
Top achievements
Rank 1
answered on 30 Apr 2010, 03:46 PM
Tina, Telerik Team and anyone else

Sorry I didn't respond when I first figured out what was going on in our local environment (Schedule is pretty packed right now).

Here's the sequence of what I did:

  1. put RadDatePicker on page within solution (inherits from another page and using nested masterpages). -- Fail
  2. tried code sent back to me (from Telerik) in another page in solution. -- Fail
  3. got another example from Telerik (with nested masterpages), created another solution and used example. -- Success
  4. tried RadDatePicker in top most masterpage in solution. -- Fail (this led to examining the web.config; not the problem)
  5. tried RadDatePicker in another page in solution which was not using our Masterpages. -- Success
  6. Stripped out some Javascript src files that were not being used.  (These javascript files were for a DHTML calendar control) Tried the original page that RadDatePicker was needed on. -- Success

I looked at these javascript files a little (as I said time is valuable here at the moment) and noticed a Javascript object named Calendar is created.  This object has a number of property and methods (of which I don't remember), but this or something related to the DHTML Calendar that we had in our unused javascript source files was causing the problem.

I hope this will help Telerik, Tina and anyone else that has similar functionality they've experienced.

Good Luck!

Tags
Calendar
Asked by
Tina Christiansen
Top achievements
Rank 1
Answers by
Martin
Telerik team
Pat
Top achievements
Rank 1
Tina Christiansen
Top achievements
Rank 1
Pavel
Telerik team
Share this question
or