We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the details of the Today Button, of the calendar inside a DateTimePickerAdv

Thread ID:





129881 Apr 7,2017 04:14 AM UTC Apr 11,2017 12:40 PM UTC WinForms 3
Tags: DateTimePickerAdv
Ricardo Jimenez Todd
Asked On April 7, 2017 04:14 AM UTC

In Windows forms, how do I change the text of the Today Button on the calendar of a DateTimePickerAdv control? I find it odd that the visible property is set to false and cant be changed. Also, if I change the text, font or any other property it is not reflected at runtime.

Thank you     

Kannan R [Syncfusion]
Replied On April 10, 2017 06:04 AM UTC

Hi Ricardo 
Thank you for using Syncfusion products.  
This reported requirement in DateTimePickerAdv can be achieved by using below code snippet.  
Code Snippet: [C#] 
            this.dateTimePickerAdv1.Calendar.TodayButton.Text = "Localized"; 
            this.dateTimePickerAdv1.Calendar.NoneButton.Text = "Localized"; 
Kindly check the above solution and let us know if it is helpful.  

Ricardo Jimenez Todd
Replied On April 10, 2017 02:38 PM UTC

This works, thank you. But why can't I set those properties in the designer? I see them available but the changes are not applied.

Kannan R [Syncfusion]
Replied On April 11, 2017 12:40 PM UTC

Hi Ricardo 
Thank you for your update. 
In DateTimePickerAdv control, MonthCalendarAdv has been used as a Sub Item of DateTimePickerAdv and requested Today / None Buttons are Sub Controls of MonthCalendarAdv. So this Designer customization will not be serialized for this level from parent and in this case. customization needs to be done through Codes. Please let us know if you need any further assistance.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon