Explain the differences between Server-side and Client-side
code?
Answer Posted / sudhanshu
Server side code executes on the server.For this to occur page has to be submitted or posted back.Events fired by the controls are executed on the server.Client side code executes in the browser of the client without submitting the page.
e.g. In ASP.NET for webcontrols like asp:button the click event of the button is executed on the server hence the event handler for the same in a part of the code-behind (server-side code). Along the server-side code events one can also attach client side events which are executed in the clients browser i.e. javascript events.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do we sort the data from a dataset?
What are the benefits of view state?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
Explain the use of resource manager class in .net.
How to handle errors in Web API?
How do you do Client-side validation in .Net?
What is inproc and outproc?
To redirect the user to another page which method do we use without performing a round trip to the client?
How does u get record no from 5 to 15 from a dataset of 100 records?
What is a web based system?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
Is asp.net easy to learn?
What is the purpose of using MVC programming pattern in ASP.NET?
What is a web server? What are the load limits in it?
What is asp net theme?