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
What are web server controls in asp.net?
What are the differences between the response.write() and response.output.write()?
Can I tap into other windows livetm services?
What is the request flow used for asp.net mvc framework? : asp.net mvc
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
Is session server side or client side?
What are the main differences between asp and asp.net?
What are the benefits of Razor View?
Disable Mouse right click on web page in asp.net?
What are the differences between clr & cts?
What’s difference between “optimistic” and “pessimistic” locking?
Define cookie.
Why do we need Sessions?
What does mean by a neutral culture?
What are the advantages of the code-behind feature?