Page 1 of 1

Ajax and Button and Edit

PostPosted: 28 Sep 2020 22:22
by ozelaya
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

Re: Ajax and Button and Edit

PostPosted: 14 Oct 2020 09:14
by Alexander Bulei
Hi ozelaya,
Please send me the testcase with both cases.
TIA