Click here to Skip to main content
15,907,000 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I hv a calender control and a button to display the calender on my webpage. when i click on the button to display the clndr then it work but the page get reload. What should i do avoid page reload. Plzz someone help me......

Hey there,

You can add this JavaScript in the Button's OnClientClick event:
OnClientClick="return false;"

or if you already using a JavaScript function, then add return false; at the end of the JavaScript function.

Hope it helps, let me know.

Share this answer
Are you using Java Script to display the Calendar?
Share this answer
VICK 7-Oct-13 0:56am    
This is not a right place to ask any question..

Rather use "Have a Question or Comment" option...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900