Explain the differences between Server-side and Client-side
code?
Answer Posted / sateesh kumar
Server-side code executes at server-side like asp.net server
controls and server validation controls
client-side means all the code will be executed by web
browser like all the validation will be executes by browser
using javascript.
only the differance comes in performance
1.if u place a RegularExpressionValidator it results a
request and obviously server has to send response.
2.only the advantage with server-side is,no need of writing
javascript statements and no need to bather from malicious
attacks on the source code.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is & in a url?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
How to reduce the width of textbox in editcommandcolumn of datagrid?
To display data in a Repeater control which template you provide?
How can u deifne the benefits and limitation of using Viewstate for state management?
Can we add code files of different languages in app_code folder?
How ViewstateMac works?
What is ascx?
How many types of validators are there in asp net?
Explain managed code an un-managed code.
What are app services?
What is authorization in asp.net?
What is localhost in asp.net?
What does a switch do?
Describe how ASP.NET maintains process isolation for each Web application?