NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: peterH on September 03, 2015, 03:27:21 AM

Title: Popup form loosing it's styling and more
Post by: peterH 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


Title: Re: Popup form loosing it's styling and more
Post by: kevin plummer 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.
Title: Re: Popup form loosing it's styling and more
Post by: Stu 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.
Title: Re: Popup form loosing it's styling and more
Post by: Bruce 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
Title: Re: Popup form loosing it's styling and more
Post by: peterH 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]
Title: Re: Popup form loosing it's styling and more
Post by: Bruce 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
Title: Re: Popup form loosing it's styling and more
Post by: peterH 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