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.

Some Questions

Thread ID:

Created:

Updated:

Platform:

Replies:

116523 Jun 4,2014 07:21 PM Nov 3,2014 04:37 AM WPF 13
loading
Tags: DateTimeEdit
Kennedy Silva
Asked On June 4, 2014 07:21 PM

Hi, i need implement DateTimeEdit in my WPF application and got some questions :

1 - How to Hide Today Button
2 - How to select only Month and Year ( I changed Pattern to YearMonth, the display is correct, but when binding DateTime property i get Day Month and Year )

Thanks

Mariappan S [Syncfusion]
Replied On June 6, 2014 08:55 AM

Hi Kennedy,

Thank you for contacting Syncfusion support.

Query: How to Hide Today Button

We have prepared a sample which tries to meet your requirement. In this sample we have edit the style of DateTimeEdit to hide the today button.

Query: How to select only Month and Year

we can't customize the DateTime pattern if we bind the DateTime value. But we have made a workaround sample that tries to meet your requirement. In this we have used the convertor to display the month and year only in DateTime. If your requirement differs from this sample please give more information about your requirement.

Please download the sample from the following attachment.

Please let us know if the sample helps.

Regards,

Mariappan S.


Attachment: DateTimeEditSample_2c8aa898.zip

Kennedy Silva
Replied On June 6, 2014 10:26 AM

Hi Mariappan, this sample not help because my way to use component is different, i use Style file to control styles of components, attach file contains this.....

I need hide Today button in this x:Key : x:Key="MesAno"

Thanks

Attachment: Estilos_d8c11d3a.zip

Mariappan S [Syncfusion]
Replied On June 9, 2014 02:40 AM

Hi Kennedy,

 

Thanks for your update.

 

We have modified the sample which tries to meet your requirement. In this sample we have edit the style of DateTimeEdit to hide the today button. If your requirement differs from this sample please give more information about your requirement.

 

Please download the sample from the following attachment.

 

Please let us know if the sample helps.

 

Regards,

Mariappan S.


Attachment: DateTimeEditSampleUpdate_f5608d8b.zip

Kennedy Silva
Replied On June 9, 2014 09:37 AM

Hello, Ok ... now works correctly, but the None Button appears partially, see the attached file please.

Thanks


Attachment: DateTimeEdit_8cf4d0a3.zip

Mariappan S [Syncfusion]
Replied On June 10, 2014 06:26 AM

Hi Kennedy,

 

Thanks for your update.

 

We have modified the sample which tries to meet your requirement. In this sample we have edit the style of DateTimeEdit to show the none button clearly. If your requirement differs from this sample please give more information about your requirement.

 

Please download the sample from the following attachment.

 

Please let us know if the sample helps.

 

Regards,

Mariappan S.

 


Attachment: DateTimeEditSampleUpdate_24bf62a.zip

Kennedy Silva
Replied On June 13, 2014 06:35 PM

Hi, thankyou for your work, one detail is .......... Culture config not work, the Labels of Button only appears in English .

Thanks

Attachment: Syncfusion.Shared.WPF.ptBR.resx_6f696226.zip

Mariappan S [Syncfusion]
Replied On June 17, 2014 09:37 AM

Hi Kennedy,

 

Thank you for your Update.

 

We have maintained the same ResourceKey in DateTimeEdit and Ribbon control so that the reported problem is occur. To avoid this problem we use DateTimeEdit theme after applying the Ribbon Theme. We will maintain the different Resource key to avoid this problem in future.

 

We have modified your sample which tries to meet your requirement. Please download the sample from the following attachment.

 

Please let us know if the sample helps.

 

Regards,

Mariappan S


Attachment: DateTimeEditSampleNew_dbcde6f6.zip

Kennedy Silva
Replied On June 18, 2014 12:39 PM

Hi, haven't example displays the perfect definition of the objects, in the attached file you can check this, when I use the DiaMesAno resource, display is correctly but when I use the DiaMes only, not , the background color and the color of the button. 

Thanks.

Attachment: DateTimeEdit_5fb074ce.zip

Mariappan S [Syncfusion]
Replied On June 19, 2014 05:59 AM

Hi Kennedy,

 

Thank you for your update.

 

Sorry for the inconvenience caused. We have modified the sample which tries to meet your requirement. In this sample we have edit the style of DateTimeEdit. If your requirement differs from this sample please give more information about your requirement.

 

Please download the sample from the following attachment.

 

Please let us know if the sample helps.

 

Regards,

Mariappan S.


Attachment: DateTimeEditSample_ba401ab4.zip

Kennedy Silva
Replied On June 30, 2014 03:15 PM

Hi, thanks for your attention, this time the translated for Buttons not work in Vb.Net Project, in attached you can view this. Thanks Kennedy
Attachment: Translate_3312d0d0.zip

Berkunath A [Syncfusion]
Replied On July 3, 2014 01:45 AM

Hi Kennedy,

 

Thank you for your update.

 

We have modified the sample as per your requirement in vb.net. Here we have attached the modified sample and you can download the sample from the attachment.

 

Please have a look at the sample an let us know if the sample helps.

 

Regards,

Berkunath A

 


Attachment: DateTimeEditsample_830aa8db.zip

Kennedy Silva
Replied On October 29, 2014 09:55 AM

Hi, in VB.Net project works , but in C#.Net don´t, please send me sample in C#. 
Tks

Kennedy

Thirumurugan Arumugam [Syncfusion]
Replied On November 3, 2014 04:37 AM

Hi Kennedy,

Thank you for your update.

We have modified the sample to C# as per your requirement . Here we have attached the sample and you can download it from the attachment.

Please  find the sample and let us know if need further assistance.

Regards,

Thirumurugan Arumugam.


Attachment: DateTimeEditSample_116523_c077bf94.zip

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.

;