NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: kevin plummer on February 04, 2009, 03:47:31 PM

Title: Lookup Screen as Popup like Calendar
Post by: kevin plummer on February 04, 2009, 03:47:31 PM
Hi all,

Is it possible to set say Vendor Lookup screen to open like the calendar lookup as a popup?

My users are finding it hard to transition from the way it worked in Windows to the way I have it set to work on the web.

Cheers,

Kevin
Title: Re: Lookup Screen as Popup like Calendar
Post by: Bruce on February 04, 2009, 10:37:43 PM
Hi Kevin,

At this stage no, and I suspect the answer is probably gonna always be "no".

The problem is not in the window popping up, that's easy. The problem is two-fold (and these appy to the calendar popup as well, but it's a tad less serious there.)

a) there are no "browser modal windows". It can be faked, but that requires a substantially different architecture underneath. (which yes, may I'll do at some point). So if, for example, the lookup window pops up then the user clicks on the "normal browser window" then the popup goes to the back, _but is still open_. With the date popup this isn't serious, but it could get serious if the approach is used with more important lookups.

b) there's no (easy) mechanism for the 2 windows to communicate with each other. Which makes the return value less certain. Someone saw this effect recently with FF browsers that have specifically been set to "open in new tab, not in popup window".

So in short, if we do support popup-lookups then it'll need some change to the way things work under the hood.

Cheers
Bruce
Title: Re: Lookup Screen as Popup like Calendar
Post by: Alberto on March 10, 2009, 08:42:48 AM
Bruce,

How hard could it be to include the lookupbrowse on the form page when you click on the button and uniclude (or hide) it when you press the select button?
Just an idea...

Alberto
Title: Re: Lookup Screen as Popup like Calendar
Post by: Alberto on March 10, 2009, 09:20:16 AM
More...
Take a look at dbnetedit
They have modal lookup windows

Alberto
Title: Re: Lookup Screen as Popup like Calendar
Post by: Alberto on March 10, 2009, 09:30:19 AM
window.showmodaldialog ??