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 to store checkbox value in database in asp.net mvc? : Asp.Net MVC
What is the maximum timeout we can set for Cookies?
What is difference between asp.net and asp?
What are the navigation ways between pages available in ASP.NET?
What is a 401 redirect?
What is asp.net introduction?
What is the default authentication mode for asp.net?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
Describe the difference between inline and code behind - which is best in a?
What is the use of execute non query in asp.net?
What is view state management in asp net?
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?
What kind of data can be stored in viewstate?
Explain Authentication mechanism in dotnet
What are the differences between code behind and code inline?