We have an application that works fine when we have debug="true" in Web.config, when we set this to "false" however the application stops working. It seems as if object inheritance is not working in the javascript (Microsoft JScript runtime error: Object doesn't support this property or method). Has anyone come across this before?
A bit more error detail:
a.beginUpdate() is not a function
-
Not come across this problem, but if you enable script debugging in IE, you can step through your javascript and narrow the problem down. I'd be surprised if javascript in the client was being affected by the app settings on the server, but I could be wrong...
-
First off, don't try to debug your javascript in IE. It's a losing proposition -- you'll only end up scratching your head and swearing about what that error means. Download a copy of Google Chrome or Firefox with FireBug. That will show you where the error really is. Start there.
Second, I'd bet it has something to do with UI objects being named differently when sent back to the client, or maybe an element just isn't there for some reason.
MT : Thanks. Much more useful than the IE way... -
Well, this is what it was...a couple of the controls had the below missing in their constructors. Nice
ControlName.initializeBase(this)
0 comments:
Post a Comment