CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

JavaScript Error on IW 14.0.13 and CG 1.6.0.2690

Post here the problems associated with javascript or browser.

by ozelaya » 17 Jul 2013 00:28

Hi,

I have update from IW14.0.12 and Last CG version for .12 to IW 14.0.13 and CG 1.6.0.2690(also Syncrhonized the 'wwwroot' folder) and now when working with grids I get the following Javascript Error:

Url : http://127.0.0.1:8888/$/
Line : 57
Message : El objeto no acepta la propiedad o el método 'setLoadCompleted'

Any hint what is causing the error?

Thanks in Advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by fduenas » 17 Jul 2013 00:34

Do you fully rebuild your application also?

Check if the Cgdevtools jquery demo has also the same problems, i not having that at least now, if you have a test case it should be useful.

Check also if refreshing the page CTRL+F5 could help.
fduenas
 
Posts: 124
Joined: 29 May 2012 12:54

by Jorge Sousa » 17 Jul 2013 02:25

Hi Ozelay

You didn't updated wwwroot FOR SURE.


setLoadCompleted is a new function in files

jq\jqgrid\grid.cg.js and grid.cg.min.js

Alt + F5 it's only needed if you change, eventually, a javascript/css file that it's already cached in browser, for new versions it's not necessary.

Best Regards

cgdevtools
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ozelaya » 17 Jul 2013 03:03

Hi,

I have used CGDevTools->Selected project...->Synchronize "wwwroot" folder, Menu option at the IDE, now that I have updated manually, its working with no problems.

Thanks in Advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by kmccoy » 31 Jul 2013 21:58

cgdevtools_support wrote:Hi Ozelay

You didn't updated wwwroot FOR SURE.

setLoadCompleted is a new function in files


I had this problem too, but the synchronize feature failed when I tried to update.

I think there is a small problem in the IDE "Synchronize "wwwroot" folder" feature. I prefer to leave my output directories blank and let the IDE place my project DCUs in the project directory instead of .\debug\win32. I am using XE + UD1.

I noticed the the synchronize feature failed to update my wwwroot directory. The message in the IDE said something like:

[IWCGJQ] Checking wwwroot...
[IWCGJQ] copy "C:\Program Files (x86)\CGDevTools\IWCGJQComps\Files\" to ""

Obviously, nothing was actually copied. It started to work correctly when I supplied an output path in my project settings.
Best Regards,

Kevin G. McCoy
kmccoy
 
Posts: 90
Joined: 08 Oct 2012 13:01

by Jorge Sousa » 31 Jul 2013 22:16

Hi Kevin

The sync wwwroot action, updates the wwwroot above you project's Output Directory

Maybe there is a problem if you left Output Directory empty, use .\ instead please.

Best Regards

cgdevtools
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to Javascript | Browser Errors

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.