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.
Unfortunately, activation email could not send to your email. Please try again.

Reposted: None button in DateTimePicker control

Thread ID:

Created:

Updated:

Platform:

Replies:

43788 May 3,2006 09:50 AM May 5,2006 04:42 AM General Discussion 2
loading
Tags: General Discussion
Sourabh Dubey
Asked On May 3, 2006 09:50 AM

Hi, Please go through the stack posted earlier and kindly respond. If somebody is already working on this, then please inform. Many thanks in advance. Sourabh. Hi, How do I set a None button (It comes in the ''''default'''' style) in the Office2003/OfficeXP style for a DateTimePicker control? Setting the NoneButton.Visible property to true in the Calendar property is probably not allowed in the Office2003/OfficeXP styles. I need this because hitting the backspace button for ''''No Date is Selected'''' is not intuitive to the user and the whole application(It''''s a Windows Application) follows the Office2003 style. Thanks in advance. By Anupama Roy[Syncfusion] at 5/2/2006 7:49:15 AM Hi Sourabh, Please take a look at the following K.B article for this. How to enable Today and None buttons for a DateTimePickerAdv or MonthCalendarAdv? If you have any difficulties, please mention your EssentialStudio version also for furthur investigation. Thank you for choosing our products. Regards, Anu. By Sourabh Dubey at 5/2/2006 10:04:15 AM Hi Anu, The steps given in that link is not working. If I change the Calendar.BottomHeight to 20(I could see the height of both Today and None button changing to 20 as well, and both are enabled by default) and build, it automatically reverts back to 0. I tried going to Designer generated code and doing that programmatically, but as expected that line of code got deleted. We are using Essential Studio 3.2.1.0 Regards, Sourabh.

Anupama Roy [Syncfusion]
Replied On May 3, 2006 11:37 AM

Hi Sourabh, We have made some changes in our latest version 4.1,so that NoneButton and TodayButton gets displayed with all styles.However,in versions prior to 4.1,by design Office2003 and OfficeXP styles never display these buttons . Rather than setting BottomHeight with designer codings,could you please try setting under FormLoad event? Please let us know if you have any difficulties. Thanks, Anu.

Sourabh Dubey
Replied On May 5, 2006 04:42 AM

Hi Anupama, Thanks. That worked. > >Hi Sourabh, > >We have made some changes in our latest version 4.1,so that NoneButton and TodayButton gets displayed with all styles.However,in versions prior to 4.1,by design Office2003 and OfficeXP styles never display these buttons . > >Rather than setting BottomHeight with designer codings,could you please try setting under FormLoad event? > >Please let us know if you have any difficulties. > >Thanks, > >Anu.

CONFIRMATION

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.

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.

;