NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on December 11, 2018, 12:49:37 AM

Title: Button and servercode
Post by: Rene Simons on December 11, 2018, 12:49:37 AM
Hi,

I have a button (button) and when I click it, it seems that the server code is not executed at all.
I can notice because the items I want to be reset are not reset and data in my database has not changed.
Is there any known issue about this?

Cheers,
Rene
Title: Re: Button and servercode
Post by: Bruce on December 11, 2018, 04:18:42 AM
no known issue.
Title: Re: Button and servercode
Post by: Vinnie on December 11, 2018, 05:17:33 AM
I think this is when you only have one refresh button on the page.
Add another field on the form. I guess so the refresh button pressed the focus goes to the next filed.
Not 100% about this.
 

Sorry ignore above Talking rubbish. Just tested and make no difference but I have a similar problem.
I will try to get more details.
Title: Re: Button and servercode
Post by: Vinnie on December 12, 2018, 05:15:09 AM
Update.
I had a similar problem using a refresh button on a form to refresh a browse.

I had two issues both to do with the browse not the button on the form.

First issue 'Refresh via Websockts' was checked on (I must of set this while testing)  this stopped the refresh completely.

Unchecking this enabled the button to work but just once. Then the button looked like it was disabled and did nothing when pressed.

Second issue was that the browse contained two row of data and the second row had great number of field to the first row.
Removing one filed from second row fixed the problem.
Problem did not exist in Nettalk10.

Easy fix so no problem for me.

Not sure if this is similar to your issue but maybe check the browse you are trying to refresh.
Cheers
Vinnie
Title: Re: Button and servercode
Post by: Rene Simons on December 14, 2018, 01:40:38 AM
Thanks for the suggestions Vinnie