Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
raddateCompareDate_SelectedDateChanged(
object
sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e)
{
DateTime selectedDate =Convert.ToDateTime(e.NewDate);
if
(selectedDate.Date != DateTime.Now.Date)
//checking selected date and current date
(selectedDate.Date < DateTime.Now.Date)
//if selectedDate date is older than current date alert will show
ScriptManager.RegisterClientScriptBlock(
this
,
.GetType(),
"alertMessage"
"alert('Old Date')"
true
);
}