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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
I tired most of the examples on disabling dates on the raddatepicker control but most are out of date to the methods and properties of the latest control set. I looking for an example of how to only let SUNDAY be selected.
Thanks
I figured it out:
using you example
aspx page
<telerik:RadDatePicker RenderMode="Classic" ID="Wedate1" runat="server" AutoPostBack="true"> <Calendar OnDayRender="Wedate_DayRender"></Calendar> </telerik:RadDatePicker>
On the code behind
protected void Wedate_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e) { if (e.Day.Date.DayOfWeek != DayOfWeek.Sunday) { Wedate.SpecialDays.Add(DisableDay(e)); } else { e.Cell.CssClass = "blackFontClass"; } } private RadCalendarDay DisableDay(Telerik.Web.UI.Calendar.DayRenderEventArgs e) { e.Cell.CssClass = "rcOtherMonth"; return new RadCalendarDay() { Date = e.Day.Date, IsDisabled = true, IsSelectable = false, }; }