it seems to me that in asp.net everthing is server side, where are the client side pages?
thanks
The sp is server side, but the validation can be on or the other, depending on how it's coded.
ASP.Net has it's validations, so it's server side when using them.
But you can also make validations via JavaScript, so that would be client side.
Zath
but the validation controls (like RequiredFiledValidator) is a client side validation...,isnt that right?
because i know that if any of the validators are found to be on error the submission of the form to the server is cancelled...
so is there something that is done on the client side in asp.net?
thanks for the help
ppl1 wrote:
but the validation controls (like RequiredFiledValidator) is a client side validation...,isnt that right?
because i know that if any of the validators are found to be on error the submission of the form to the server is cancelled...
Yes the RequiredFieldValidator does the client side validation
ppl1 wrote:
so is there something that is done on the client side in asp.net?
thanks for the help
You can do so many things on client side and you should do so many things on client side to minimize postbacks if possible. So what exactly is that you are asking. Usually you use javascript to do client side stuff..
ok...so lets go back to my first question-> a page that contain a validation control and starting a storeProcedures when the user click on a button --is considered as a client side page or as a server side page?
ppl1 wrote:
ok...so lets go back to my first question-> a page that contain a validation control and starting a storeProcedures when the user click on a button --is considered as a client side page or as a server side page?
A webpage physically is considered a client side output for the asp.net server side processing. Asp.net uses browser to show its output to the user in the form of a web page. So, a webpage is a client side entity. Server wouldnt know anything about it after it outputs the html into the browser. Now, when the user clicks on the button, the page gets postback to the server. In here there are several things that goes on. The event of user clicking the button will be a client side event, and the page postbacks and server does some processing in response to the user action, which is button click event.
ok thanks for the help
Hi ,
Answering your question, calling a Stored Procedure is a Server Side call.
A page can contain server as well as client side technologies.
Hope it helps
Shahram
0 comments:
Post a Comment