Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Using JQuery Timer in ASP.NET
WhatsApp
Rajesh KP
10y
9
k
0
0
25
Blog
TimeCalender.zip
This blog taken reference from Mugifly DateTimePicker. It help to populate Date & Time Picker.
To use, need to add JS reference
<%--DateTime Picker--%>
<link href=
"js/Mugifly_DateTimePicker/jquery.simple-dtpicker.css"
rel=
"stylesheet"
/>
<script src=
"js/Mugifly_DateTimePicker/jquery.simple-dtpicker.js"
type=
"text/javascript"
></script>
If we are using update panel, need to put following lines:
<%--Display Datetime--%>
<script type=
"text/javascript"
>
$(document).ready(
function
() {
TimeDisplay();
var
prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(TimeDisplay);
});
Else, put the below lines, it will enough:
function
TimeDisplay() {
$(
'*[id=<%= txtDuration.ClientID %>]'
).appendDtpicker({
"futureOnly"
:
true
,
"minuteInterval"
: 1
});
}
</script>
Using Jquery Timer in ASP.NET
Up Next
Showing Page Loader Using JQuery in ASP.NET
Ebook Download
View all
Frontend Developer Interview Questions and Answers
Read by 997 people
Download Now!
Learn
View all
Membership not found