NetTalk Central

Author Topic: Refresh of netwebbrowse but buttons remain greyed out  (Read 4600 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
Refresh of netwebbrowse but buttons remain greyed out
« on: August 15, 2016, 01:45:00 AM »
I have a netwebbrowse which pops up a netwebform, the netwebform inserts a new record into the browse file and deletes an old one , I have set the option to refresh the hole browse , which happens but the buttons 'copy' 'delete' on the browse line remain greyed out.
If I click on the headers to resort then everything works and the buttons come alive again ?
any suggestions ?

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Refresh of netwebbrowse but buttons remain greyed out
« Reply #1 on: August 15, 2016, 05:30:02 PM »
Hey Mike,

Is there any clue from say Firebug/Console as to what is happening?

Sounds like it might be that pesky xhtml "i don't work properly for heaps of different reasons" thing.
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Refresh of netwebbrowse but buttons remain greyed out
« Reply #2 on: August 17, 2016, 05:07:54 AM »
I think I might need an example for this one Mike.

Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
Re: Refresh of netwebbrowse but buttons remain greyed out
« Reply #3 on: August 22, 2016, 08:02:43 AM »
Hooray Finally managed to replicate the problem on web21 example

Its works fine on a form with 1 tag ie. form and 1 browse on a tag  the browse gets _refresh_=saved
as soon as you add the 3rd tag the thirrd tag browse gets _refresh_=first

attached find the modified app and dict. (i cahnged the dict to take auto num out)

Instructions
--------------
download app and dct
run
choose browse Invoices
select update invoice
go to tab3 lineitems
select copy button
chnage the descrition of the item
press save

you will notice the browse doent refresh

However if you delete the 2nd tab in the form so the lineitems becomes the 2nd tab
recomple the app, everything work just dandy.

 

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
Re: Refresh of netwebbrowse but buttons remain greyed out
« Reply #4 on: August 24, 2016, 12:09:39 AM »
Hi Bruce just putting this one on top again in case you missed it, or need more info ?

MikeR

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • Email
Re: Refresh of netwebbrowse but buttons remain greyed out
« Reply #5 on: August 25, 2016, 12:40:13 PM »
Today's webinar Fix Works like a Bomb.
Thx Bruce
Don't forget to incllude in next Build.