PDA

View Full Version : Object doesn't support this property or method



KJ
Feb 03, 2010, 9:06 PM
I am new with Coolite. I just create a simple asp.net mvc application with coolite scriptmanager and linkbutton, and I keep getting error message, Object doesn't support this property or method. Anyone has idea how am I trouble shoot this? Please help. Thanks

r_honey
Feb 05, 2010, 5:15 AM
It is pretty difficult to help out this way. The error message obviously means you are trying to access a non-existent property/method on a js object (maybe the object itself is null or undefined).

Atleast some code that generates this error needs to be posted for figuring out the issue.

geoffrey.mcgill
Feb 05, 2010, 4:40 PM
Hi KJ,

Please ensure you have the required routes.IgnoreRoute in your Global.asax.cs.


Confirm that your Global.asax.cs is the same/similar to the sample MVC project (http://mvc.ext.net/).


You can also try setting CleanResourceUrl="false" on your <ext:ScriptManager>.


Hope this helps.

KJ
Feb 09, 2010, 1:16 AM
Thank you, Geoffrey. It works! Why do we need to set CleanResourceURL=false?

KJ
Feb 09, 2010, 1:21 AM
Thank you, Geoffrey. It works! Why do we need to set CleanResourceURL=false?