NetTalk Central

Author Topic: Popup form loosing it's styling and more  (Read 4286 times)

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Popup form loosing it's styling and more
« on: September 03, 2015, 03:27:21 AM »
A NetWebForm with a few fields (most of them lookups or drops) work as expected. But if I set it to open in popup-mode a lot of the styling and functionality is lost. The header is not being encoded, styles are not being applied, lookups don't work anymore, ok and cancel buttons don't work etc.

The form is being called from a browse on another NetWebForm. All the latest CS products.

I seem to recall someone else seing this behaviour a while back (maybe in a NTUG webinar?) but I can't find anything about it and I have no idea how to fix.

Anyone?

Peter



kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Popup form loosing it's styling and more
« Reply #1 on: September 03, 2015, 02:44:25 PM »
Is there any xHTML on the page, either the popup or the window it pop's up from? I would also check the Firebug console for any errors.

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: Popup form loosing it's styling and more
« Reply #2 on: September 03, 2015, 04:53:33 PM »
Also (but not before firebug!) some of those things can happen when working in a multi-dll solution (with multiple ntws dlls) and the main exe with webserver/webhandler hasn't been recompiled after the changes.
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Popup form loosing it's styling and more
« Reply #3 on: September 03, 2015, 09:20:24 PM »
I'm guessing there is an error in the Firebug console - check that out and report back...

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Popup form loosing it's styling and more
« Reply #4 on: September 03, 2015, 10:48:33 PM »
Hi Kevin, Stu, Bruce

It's a one-exe solution and there's no xHTML in any of the procedures involved.
Firebug shows absolutely no errors, just 200OK

I'm attaching the complete response when the form is being called without and with popup selected. Hopefully someone gets an idea from that...

Peter

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Popup form loosing it's styling and more
« Reply #5 on: September 04, 2015, 07:55:15 AM »
is the page online?

maybe the scripts need to be refreshed? Do a GzipAll maybe?

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Popup form loosing it's styling and more
« Reply #6 on: September 07, 2015, 07:55:44 AM »
Hi Bruce
I've sent you a pm with instructions on how to get to the page.

Peter