TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sreenish
NA
249
32.8k
ondblclick is not working??
Jul 16 2015 12:54 AM
Hello..
Am using one calendar in my webform ...if i doubleclick on date cell it is not working??
if anyone knows share the answer...and am posting what i have tried...
Script::
<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';
}
el.ondblclick = function Cal1() {
clearTimeout(timer);
alert('<%= Calendar1.SelectedDate.Date.ToLongDateString() %>'+"DoubleClick");
document.getElementById("Mdl1").style.display = 'block';
}
}
</script>
Reply
Answers (
1
)
How to adjust the position in asp.net
how to handle session time out period in mvc 4??