NetTalk Central

Author Topic: Busy with socket net refresh  (Read 6002 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Busy with socket net refresh
« on: June 25, 2019, 09:18:08 AM »
Hi, how to avoid the busy.gif when refreshing from sockets?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Busy with socket net refresh
« Reply #1 on: June 25, 2019, 09:17:04 PM »
more context required.

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Busy with socket net refresh
« Reply #2 on: June 26, 2019, 07:21:51 AM »
Browse refreshing using sockets, when refreshing the busy.gif appears, how to hide it only when its refreshed via sockets.
If the user, by example, sort by a column the gif is ok.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Busy with socket net refresh
« Reply #3 on: June 27, 2019, 12:59:00 AM »
you're taking about using NetRefresh? and the data changes, so then the browse refreshes itself?
and the busy graphic appears during that refresh?

I'm not sure it's easy to turn that off. It's doing a generic refresh at that point, which in turn triggers the busy graphic.
(the WebSocket is just an alert to the browse that the data is old.)

Why is the graphic a problem for you?

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Busy with socket net refresh
« Reply #4 on: June 27, 2019, 05:35:44 AM »
Why is the graphic a problem for you?

I use the busy.gif in the middle of the screen instead of the right-bottom marging to be easily view by the user.

The browse is allways refreshing, the values in the browse change its colour when the value goes up and down, it is fast and then the gif in the middle is a problem.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Busy with socket net refresh
« Reply #5 on: June 27, 2019, 11:10:47 PM »
>> Why is the graphic a problem for you?

it's not :)

I guess on this page you could have some custom css to hide the graphic completely then.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Busy with socket net refresh
« Reply #6 on: June 28, 2019, 02:41:39 AM »
I know how to change the css for all pages but... how to change it for only one page?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Busy with socket net refresh
« Reply #7 on: July 01, 2019, 10:24:08 PM »
see pic;