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
AI Productivity Tools
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
void
radDateTimePicker1_Closing(
object
sender, Telerik.WinControls.UI.RadPopupClosingEventArgs args)
{
var calendar = radDateTimePicker1.DateTimePickerElement.CurrentBehavior
as
RadDateTimePickerCalendar;
if
(!calendar.PopupControl.Bounds.Contains(calendar.PopupControl.PointToClient(Cursor.Position)))
args.Cancel = args.CloseReason == RadPopupCloseReason.Mouse;
}