NetTalk Central

Author Topic: Button and servercode  (Read 4900 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Button and servercode
« 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
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Button and servercode
« Reply #1 on: December 11, 2018, 04:18:42 AM »
no known issue.

Vinnie

  • Full Member
  • ***
  • Posts: 183
    • View Profile
    • Email
Re: Button and servercode
« Reply #2 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.
« Last Edit: December 11, 2018, 08:42:51 AM by Vinnie »

Vinnie

  • Full Member
  • ***
  • Posts: 183
    • View Profile
    • Email
Re: Button and servercode
« Reply #3 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

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Button and servercode
« Reply #4 on: December 14, 2018, 01:40:38 AM »
Thanks for the suggestions Vinnie
Rene Simons
NT14.14