Page 1 of 1
v1.7 Button click not working

Posted:
20 Aug 2013 06:36
by zsleo
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
Re: v1.7 Button click not working

Posted:
20 Aug 2013 09:40
by Alexander Bulei
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.
Re: v1.7 Button click not working

Posted:
26 Aug 2013 12:20
by ICampbell
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
Re: v1.7 Button click not working

Posted:
26 Aug 2013 15:10
by Jorge Sousa
Hi Ian
You need to update the wwwroot
Regards
cgdevtools
Re: v1.7 Button click not working

Posted:
26 Aug 2013 15:25
by ICampbell
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
Re: v1.7 Button click not working

Posted:
26 Aug 2013 15:32
by Jorge Sousa
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
Re: v1.7 Button click not working

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