ASP Programming Question:

Download Job Interview Questions and Answers PDF

What type of code (server or client) is found in a Code-Behind class?

ASP Programming Interview Question
ASP Programming Interview Question

Answer:

The answer is server-side code since code-behind is executed on the server. However, during the code-behind's execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser. But just to be clear, code-behind executes on the server, thus making it server-side code.

Download ASP Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What data types does the RangeValidator control support?Should user input data validation occur server-side or client-side? Why?