Is it better to have client (Javascript) processing HTML rather than C# processing HTML?
- by Raja
We are in the process of building a huge site. We are contemplating on whether to do the processing of HTML at server side (ASP .Net) or at the client side.
For example we have HTML files which acts like templates for the generation of tabs. Is it better for the server side to get hold of content section (div) of HTML load the appropriate values and send the updated HTML to the browser or is it better that a chunk of data is passed onto client and make Javascript do the work?
Any justification with respect to either ways will be helpful.
Thanks.