Search This Blog

Tuesday, December 16, 2014

Difference between onclick and onclientclick

OnClick will work on server side

OnClientClick will execute on client side before control passed to server.

If the client side code returns TRUE then it will go to server.

Generally programmers use onclientclick to validate the controls like textbox,etc.


No comments:

Post a Comment

Restricting Custom People Picker to only one Sharepoint group programatically

Refer the following script files in your page,     <!-- For People Picker -->     <script type="text/javascript" src...