CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Ajax and Button and Edit

by ozelaya » 28 Sep 2020 22:22

Hi,

I'm having the following issues:

On form create I set a CGJQEdit text property with a constant value. I have a CGJQButton with the OnClick event with Ajax set to false.

1. On the button Event I assign the edit text value to a local string var, If the user does not modify the edit text, it returs a empty string,
If the users does modify the text field it works ok. If I set Button Ajax to true it work ok on both situations.

2. On the button event I call Free to close the form, If Ajax is true I get a access violation, If Ajax is false works ok.

Any hints,

Thanks in advance,

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

by Alexander Bulei » 14 Oct 2020 09:14

Hi ozelaya,
Please send me the testcase with both cases.
TIA
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


Return to General

Who is online

Users browsing this forum: No registered users and 24 guests

Contact Us.