L
Luke Breuer
I am in charge of writing a criteria selection page for queries. There
is the potential for a hundred or even hundreds of fields. Since we
want to display a decent amount of controls/data for each field, this
would quickly eat up space if all the controls were generated at the
server and sent to the client. Currently we have a setup like this
that requires a 500 KB download - absolutely unacceptable.
I would like to know if it's "kosher" or even possible to send the
user a list of the fields, their datatypes, etc., along with a piece of
javascript that will create the controls on the client side. If it is
at all possible, I would like to encapsulate this functionality so the
code-behind can access something simple like an Items collection to see
all the controls that were added.
The reason I want all the controls loaded at once is that roundtrips to
the server would take an noticeable amount of time that would be nice
if it could avoided.
Thanks in advance,
Luke Breuer
is the potential for a hundred or even hundreds of fields. Since we
want to display a decent amount of controls/data for each field, this
would quickly eat up space if all the controls were generated at the
server and sent to the client. Currently we have a setup like this
that requires a 500 KB download - absolutely unacceptable.
I would like to know if it's "kosher" or even possible to send the
user a list of the fields, their datatypes, etc., along with a piece of
javascript that will create the controls on the client side. If it is
at all possible, I would like to encapsulate this functionality so the
code-behind can access something simple like an Items collection to see
all the controls that were added.
The reason I want all the controls loaded at once is that roundtrips to
the server would take an noticeable amount of time that would be nice
if it could avoided.
Thanks in advance,
Luke Breuer