Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
AI-Enhanced UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
Page_Load(
object
sender, EventArgs e)
{
RadDatePicker1.MaxDate = DateTime.Now;
}
<
telerik:RadDatePicker
ID
=
"RadDatePicker1"
runat
"server"
/>
Hello Daniel,
i try whit ur code-snippets and it works on local mode, but when i try it on other server (with UTC time) leave me to select future date and hours, how i can solve it?
thanks!
i have the solution, sorry :)
i just do this:
window.onload =
function
() {
getDate();
getDate() {
var
now =
new
Date();
datePicker = window.$find(
"<%=RadDateTimePicker.ClientID%>"
);
datePickerInicio.set_maxDate(
Date(now.getFullYear(), now.getMonth(), now.getDate(),
now.getHours()));
this solve my problem :D