NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on May 30, 2013, 03:23:32 AM

Title: Slow drop-down box load - best approach?
Post by: rupertvz on May 30, 2013, 03:23:32 AM
Hi Guys,

I have a NetWebForm where the user selects from two drop down boxes.
Unfortunately we have to load the full item master file into these two boxes.
It is taking about 10-20 seconds to complete each load.

Is there some progress indicator that I can put on the NetWebForm to show the user the progress of the load?
Or at least just a "busy" indicator, and prompt to inform the user to wait until the load is complete?


Title: Re: Slow drop-down box load - best approach?
Post by: Bruce on May 30, 2013, 05:18:54 AM
are you doing the load when the form opens, or are you doing it in response to some other selection they make on the form?

cheers
Bruce
Title: Re: Slow drop-down box load - best approach?
Post by: rupertvz on May 30, 2013, 07:27:06 AM
Hi Bruce,

I am using the default, both drop-down boxes load when the form opens.
The users are getting impatient and clicking the form away.


Title: Re: Slow drop-down box load - best approach?
Post by: Rene Simons on May 30, 2013, 09:43:27 AM
Hi Rupert,

I always take in consideration what the user experience will be when users use my app.
Waiting for a page to load never is good.
When there is a chance that  th droplist will be longer than e.g. 20 items, I use a select function. No waiting time for the user. Happy customer, happy develloper.

Cheers,
Rene
Title: Re: Slow drop-down box load - best approach?
Post by: springguy on May 31, 2013, 03:31:10 AM
Rene,
Could you fill us in on the technique you are using?
Thanks,
Mike Springer
Title: Re: Slow drop-down box load - best approach?
Post by: Bruce on May 31, 2013, 03:52:26 AM
I think what Rene is saying that a Drop is not an appropriate control when it is either very large (ie lots of options) or populating those options takes a long time.

Change to a String control, click on the "Lookup button" option, and also tick on the "Auto Complete" option. The form loads much faster, and the user still has access to the lookup, and also auto-complete functionality.

cheers
Bruce
Title: Re: Slow drop-down box load - best approach?
Post by: springguy on May 31, 2013, 04:34:36 AM
Thanks Bruce - great info
Mike
Title: Re: Slow drop-down box load - best approach?
Post by: Rene Simons on June 01, 2013, 12:52:14 AM
Yeah, autocomplete is even better.
Rene
Title: Re: Slow drop-down box load - best approach?
Post by: Rene Simons on June 01, 2013, 03:02:42 AM
Rupert,
Make sure you have a unique key on the descriprion field of the file that you do the lookup on.
Rene
Title: Re: Slow drop-down box load - best approach?
Post by: rupertvz on June 03, 2013, 06:34:27 AM
Thanks Rene,

Much appreciated :-)