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

[Solved] 'h' is null or not an object in telerik.datepicker.min.js

4 Answers 116 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaurav
Top achievements
Rank 1
Gaurav asked on 25 Jun 2010, 12:08 PM
I have ajax form in asp.net 4.0 mvc2 ,  I am using mvc telerik datepicker.
once I select date in datepicker , then after if I postback a form through dropdown or else , after that if i click on any part  of page , I am getting warning('h' is null or not an object)  on Status bar .
 

4 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Jun 2010, 12:17 PM
Hi Gaurav,

Unfortunately it is hard to determine, where could be the problem. In order to progress with our investigation I will ask you to send us a simple test project which reproduces the depicted issue.

Kind regards,
Georgi Krustev
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
Joan Vilariño
Top achievements
Rank 2
answered on 08 Sep 2010, 01:19 PM
Did you find/fix this issue? I am having a very similar problema atm
0
Istvan Kurta
Top achievements
Rank 1
answered on 09 Sep 2010, 08:33 AM
Hi,

I had a similar issue also. I had a view and on it a jQuery dialog in which i was loading using jQuery load the result of an action, and before I have loaded the result of the action (i.e. /Change/Status), I have cleared the contents of the jQuery dialog to get the new content. The action returned a view in which was a datepicker, and by me the solution was to remove the clearDiv (so i dont clear the contents of the dialog using javascript), only use load to refill the dialog contents. I think that some of the telerik javascript functions tried to make something with the control that didn't existed anymore.
0
Joan Vilariño
Top achievements
Rank 2
answered on 09 Sep 2010, 08:57 AM
Thanks for your reply ...

I just found the same solution as you this morning ;)

If I don't do a .html('') on the window content before opening it .. it works perfectly.

Thanks anyway!

Joan
Tags
Date/Time Pickers
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Joan Vilariño
Top achievements
Rank 2
Istvan Kurta
Top achievements
Rank 1
Share this question
or