D
Dirk
Hi,
Suppose an application where the user has to chose an id-number in a
'select'. Data connected to that id-number must be fetched from a table and
undergo heavy calculations and finally displyed into several textboxes.
In order to minimize transfer between server and client, is it not better to
use simple html elements instead of servercontrols?
With servercontrols, the chosen value must be sent to the server, then the
data fetched and sent back to the client in order to be perform the
calculations (could happen on the server but risk for overload), then sent
back to the server to put the value into the textboxes and finally sent to
the client for display. Total = 4 transferts.
With simple html-elements, one tranfert from client to server with the
selected value, then transfert from server to client with the data, then
calculations on client and display in texboxes.Total = 2.
If I'm right, can anyone explain me when using servercontrols, taking into
account the balance between client and server.
Thanks
Dirk
Suppose an application where the user has to chose an id-number in a
'select'. Data connected to that id-number must be fetched from a table and
undergo heavy calculations and finally displyed into several textboxes.
In order to minimize transfer between server and client, is it not better to
use simple html elements instead of servercontrols?
With servercontrols, the chosen value must be sent to the server, then the
data fetched and sent back to the client in order to be perform the
calculations (could happen on the server but risk for overload), then sent
back to the server to put the value into the textboxes and finally sent to
the client for display. Total = 4 transferts.
With simple html-elements, one tranfert from client to server with the
selected value, then transfert from server to client with the data, then
calculations on client and display in texboxes.Total = 2.
If I'm right, can anyone explain me when using servercontrols, taking into
account the balance between client and server.
Thanks
Dirk