<script type="text/javascript"> window.onload = function () { var timer; var el = document.getElementById('Calendar1'); el.onclick = function () { if (timer) clearTimeout(timer); timer = setTimeout(function () { alert('<%= Calendar1.SelectedDate.Date.ToLongDateString() %>'); }, 250); document.getElementById("GridView1").style.display = 'block'; } ondblclick = function Cal1() { clearTimeout(timer); alert('<%= Calendar1.SelectedDate.Date.ToLongDateString() %>'+"DoubleClick"); document.getElementById("Mdl1").style.display = 'block'; } } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)