DropDownList in a client

  • Thread starter Thread starter Raúl Martín
  • Start date Start date
R

Raúl Martín

I explain myself: I have a DropDownList of "suppliers" that it has like 300
items, the question is that whenever the client makes any thing with the
page

then in the servant I recover every time the data of the

DropDownList. Then, instead of recovering the data of the data base in each
ascent to the server I can store it everything in a session variable and
thus it

does not use the SQL-SERVER but that is what less it

worries to me, what I would really like is that that list of 300 items
remained in

the client and when I show the pageof the client, the

DropDownList, that it has converted in a select of HTML, recover the data
of anyway but in the client, so that thus it does not have to send to the
300 suppliers every time. I think that the option to keep an Array in frame
hidden and

only to update the list whenever it changes the list of "suppliers",
nevertheless then if it is not so my Select of HTML-CLIENT recovers

from the Array of the other frame. Well that is the idea, but I do not have
how to implementing it because it is

about Javascript and DHTML than asp.net. isn´t it?

some suggestion?



thanks a lot

PD: Sorry about my poor english
 
How about just caching the dataset/datatable/dataview or whatever you are
using? That might work for your problem. If you are worried about the
suppliers data changing just set a timout of whatever you choose for the
cached data. If the cached item is present, load your dropdownlist with the
cached item. If it isn't present, just query the database and cache the item
again.

HTH
 
But caching dataset and dataview is only for caching in the web-server, not
in the client.I would like save the datas in the client because always have
to download the same suppliers the most of time. I am already using to
caching on web-server
I
 
Back
Top