Sercan Ozdemir
Sercan Ozdemir

Reputation: 4692

ASP.NET Uncaught TypeError: Object #<Object> has no method 'getTotalMilliseconds' ScriptManager (After upgrade .NET Framework)

as i mentioned at the title after i changed my .NET framework version 3.5 to 4.5 or 4.0 my javascript codes stopped working because ScriptManager throwing the below exception:

Uncaught TypeError: Object #<Object> has no method 'getTotalMilliseconds'

This method was point to

span.getTotalMiliseconds()

in ScriptResource.axd...

Everything is working fine in .NET Framework 3.5 i changed my whole dependencies to corresponding framework, i mean i upgraded AjaxControlToolkit to 4.5 too, with Nuget Package Manager..But above exception still exists..

Upvotes: 0

Views: 384

Answers (1)

Sercan Ozdemir
Sercan Ozdemir

Reputation: 4692

I was able to solve the issue by deleting and adding Scriptmanager back again from toolbox. And everything started to work.

Upvotes: 0

Related Questions