CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

v1.7 Button click not working

Post here the problems associated with javascript or browser.

by zsleo » 20 Aug 2013 06:36

D XE; IW 12.20;

This app has been working for a few months. I updated to CDG 1.7.0.2812 and IWCGJQButton5.IWCGJQButton5JQButtonOptionsClick event does not trigger.

I rolled back to CDG 1.6.0.2769 and the event is triggered

Regards

Zane
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Alexander Bulei » 20 Aug 2013 09:40

Hi Zane,

I updated to CDG 1.7.0.2812 and IWCGJQButton5.IWCGJQButton5JQButtonOptionsClick event does not trigger.


Did you have errors in your browser?
Please set ServerController.JavascriptDebug to true and also set

delphi code
IWCGJQCommon. CGJSErrorHandler:= False;


in ServerController.OnCreate, to know where that js error comes from (if you have).

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ICampbell » 26 Aug 2013 12:20

I'm having the same problem. I just upgraded to IW14.0.15 and JQ 1.7.0.2851. Using Delphi XE4

None of the buttons (TIWCGJQButton) in my app fire anymore. For example, if I use btnExample.JQEvents.OnClick.OnEvent := exampleClick; then the exampleClick event is never called. None of the buttons anywhere in the app work.

Ian
ICampbell
 
Posts: 26
Joined: 25 May 2013 17:32

by Jorge Sousa » 26 Aug 2013 15:10

Hi Ian

You need to update the wwwroot

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 ICampbell » 26 Aug 2013 15:25

OK, I'll resync the root. Thanks.

However you might be interested in what I found. If you have a IWCGJQEdit using a watermark anywhere on the form then none of the buttons work. If you turn off the watermark then all buttons work. Just fyi

Ian
ICampbell
 
Posts: 26
Joined: 25 May 2013 17:32

by Jorge Sousa » 26 Aug 2013 15:32

Hi again

And now since the your Browser Cache for new version it's already filled with wrong files.

You need to clear it manually - hiting Ctrl + F5 in the browser.

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 ICampbell » 26 Aug 2013 19:28

Perfect, everything is working now. I noticed one little thing however. The watermark behavior is a little bit different now than before. The watermark text used to disappear on focus/enter. Now the text disappears on 'first character typed'. It's a little difference so no problem.

Ian
ICampbell
 
Posts: 26
Joined: 25 May 2013 17:32


Return to Javascript | Browser Errors

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.