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 the difference between overriding and overloading?
How you will handle session when deploying application in more than a server?
What are session cookies?
Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc
How can we provide the WebParts control functionality to a server control?
9. Why should we hire you over the others waiting to be interviewed?
What is mvc in asp.net tutorial? : Asp.Net MVC
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Describe SOA and the tenets of it?
Explain the difference between overriding and overloading?
How long do session variables last?
What is the difference between session and viewstate?
What does uri mean?
Write some code using interfaces, virtual methods, and an abstract class`
How to set the pane area to transparent of a scrollPane component.?