Hello,
I apologize to be not the first person to ask such a question, but I couldn't find "the" ultimate answer I'm looking for in the recent past threads in this forum.
My purpose is to limit the server calls as much as possible, and thus to let the user perform his insert/update/delete operations client-side (with immediate effect in the grid on the screen) without a single server call.
The grid has to be initialized with data server-side, in a way or another (binding ? Manual server-side items adding ?) but after this initialisation, no more binding of any kind. Just manual addings in javascript, as many as the user wishes, and at last one unique call to the server in order make it refresh the database.
Thus, the client would notify the server about the changes made, instead of the contrary.
Is it possible and how ?
Thank you very much in advance,
Jocelyn
PS
Manually adding items client-side with javascript is simple. My actual problem is to retrieve these items in the server-side code at the server call moment, since the grid seems to be reinitialized at that moment, and to lose all the client operations done...
I apologize to be not the first person to ask such a question, but I couldn't find "the" ultimate answer I'm looking for in the recent past threads in this forum.
My purpose is to limit the server calls as much as possible, and thus to let the user perform his insert/update/delete operations client-side (with immediate effect in the grid on the screen) without a single server call.
The grid has to be initialized with data server-side, in a way or another (binding ? Manual server-side items adding ?) but after this initialisation, no more binding of any kind. Just manual addings in javascript, as many as the user wishes, and at last one unique call to the server in order make it refresh the database.
Thus, the client would notify the server about the changes made, instead of the contrary.
Is it possible and how ?
Thank you very much in advance,
Jocelyn
PS
Manually adding items client-side with javascript is simple. My actual problem is to retrieve these items in the server-side code at the server call moment, since the grid seems to be reinitialized at that moment, and to lose all the client operations done...