Nevron Forum

Microsoft JScript runtime error: Object doesn't support this property or method

https://www.nevron.com/Forum/Topic6873.aspx

By Devaraj S - Monday, August 27, 2012

Dear Friends,

                I am creating a web Application using Nevron chart for Dotnet vision 2012.

I created the Application using Nthin chart control,where i am using a datetime picker which is attached to the textbox dynamically using ClientID property of it. In that i am facing the problem that

      " Microsoft JScript runtime error: Object doesn't support this property or method " .

 

please provide me a solution to resolve this issue.

Thanks and Regards,

Devaraj.S

 

 

By Nevron Support - Tuesday, August 28, 2012

Hi Devaraj,

What is the server / client side code you use to automate the control - most likely you try to get a value from a null object or an object with different type and the JScript parser throws this error...

By Devaraj S - Wednesday, August 29, 2012

Hi ,
I used date time picker control which is attached to the text box dynamically in web application. After loading Nevron Nthin chart control, i can't access the datetime using the datetime picker. Before that i am able to access the Date and time from date time picker.I used the below script for datetime picker.

<%-- <script language="javascript" type="text/javascript">
$(document).ready(function () {
$("#<%=TextBox1.ClientID %>").dynDateTime({
showsTime: true,
ifFormat: "%Y/%m/%d %H:%M:%S",
daFormat: "%l;%M %p, %e %m, %Y",
align: "BR",
electric: false,
singleClick: false,
displayArea: ".siblings('.dtcDisplayArea')",
button: ".next()"
});
});
</script>

I used this codes in server side.after getting this error i didnt get data labels and marker style. Eventhough i didnt get any error except this.

Thanks and Regards,
Devaraj.S
By Nevron Support - Wednesday, August 29, 2012

Hi Devaraj,

Make sure your script and Nevron Chart use the same version of JQuery - this is described in the following topic:

http://helpdotnetvision.nevron.com/ThinWeb_JQuery.html

Let us know if the problem persists...