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

DateTextBox: Unable to get value of the property '10': object is null or undefined

4 Answers 56 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 19 Nov 2012, 04:56 PM
Forgive me as this post is not very specific. We are using a PeterBlum.DES.Web.WebControls.DateTextBox on a webpage. It works fine until we do a search and a postback occurs. Now clicking on the calendar control dropdown arrow to show the calendar produces this error:

Unhandled exception at line 8, column 21447 in http://localhost:16007/CESIReportExec/DES/GetFiles.aspx?type=scripts&version=5.0.1.5000&files=0_1_2_4_7_8_9_15_16_17_18_20_22_24_27_31_33_41_44_49_54

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property '10': object is null or undefined

The code that produces this appears in teh IE debugger: "vMO.MYMonth.innerHTML=(vMO.AMN?vCI.AMN[vM]:vCI.MN[vM]);"
which is in DES\GetFiles.aspx. I know that vMO.AMN is undefined and vM=10; This code is just a small part of a large amount of Telerik code. Is there anything else you need from me to give me some idea as to what I can do?

Thank you.

4 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 22 Nov 2012, 11:43 AM
Hi Lee,

Can you post the JavaScript CallStack when the exception happens? I am unable to to determinate where in the code this happens by looking at the provided information only.

Greetings,
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.
0
Lee
Top achievements
Rank 1
answered on 26 Nov 2012, 02:14 PM
Vasil,
Here is the call stack after the error (I would send a screenshot but cannot here):

DES_CALFillInMonthHdr
DES_CALFillInMonth
DES_CALMonthValChg
DES_CALSetNoSelection
DES_DTBToCal
DES_BDATPopup
onclick

Hope this helps.

Lee
0
Vasil
Telerik team
answered on 27 Nov 2012, 01:51 PM
Hello,

It looks to me that the exception is somewhere deep in the DES code, and it is not in the part of the RadInput Control code, and I am not able to say what is caused by.

All the best,
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.
0
Lee
Top achievements
Rank 1
answered on 27 Nov 2012, 02:02 PM
So do you have any suggestions or a workaround I could use?
Tags
Calendar
Asked by
Lee
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Lee
Top achievements
Rank 1
Share this question
or