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. Image for the cookie policy date
close icon

Change the names of buttons and time header text

Hi,

1) How change the names of buttons in Syncfusion DateTimePicker controls (12.1.0.49) for ASP.NET MVC?

I tried to use ".DateTimePickerButtonText(texts=>texts.Now("A").Done("B").Today("C"))", but it didn't work.


2) How change the name of time header (text "Time") in Syncfusion DateTimePicker controls (12.1.0.49) for ASP.NET MVC?


Thanks


3 Replies

SN Sasikala Nagarajan Syncfusion Team August 7, 2014 12:14 PM UTC

Hi Pawel,

Thanks for using Syncfusion products.

Reported  issue  “Changing datetimepicker button text using ‘DateTimePickerButtonText’ didn’t work ” is known issue in our 12.1.0.36 release, now we have fixed this issue in our latest Essential Studio service pack for Volume 2, 2014 and it can be download under the following link:

 http://www.syncfusion.com/forums/117079/essential-studio-2014-volume-2-service-pack-2-release-v12-2-0-39-available-for-download

Also, We can change the text of time header using  DateTimePickerButtonText” property. Please find the following code snippet to change the title of time.

@Html.EJ().DateTimePicker("datetime").DateTimePickerButtonText(text => text.Today("A").Now("B").Done("C").TimeTitle("HeaderTime"))

Please get in touch with us if you would require any further assistance.

Regards,

Sasikala Nagarajan



PA PawelS August 7, 2014 01:05 PM UTC

Hi,
I have one question – is the actual version 12.2.0.39 in full compatibility with version 12.1.0.49?
I noticed something that worries me – change naming conventions – why?
Thanks


SN Sasikala Nagarajan Syncfusion Team August 8, 2014 12:46 PM UTC

Hi Pawel,

 

Thanks for the update.

 

No, the volume 2, 2014(12.2.0.36) isn’t full compatibility with Volume 1, 2014 (12.1.0.49), because we have made the major API changes & introduced lot of features for this release (volume 2, 2014) to improve the user experience and provide unique API for all our controls. We will try to avoid like these API corrections in future.

 

For more information, please refer the release notes for volume 2, 2014 release.

 

Link: https://s3.amazonaws.com/files2.syncfusion.com/Installs/v12.2.0.36/ReleaseNotes/ASPMVC.html

 

We have updated the API changes in online, please refer the below link.

 

Link: http://help.syncfusion.com/cr/js

 

Please let us know if you have any other concerns.

 

Regards

Sasikala Nagarajan

Loader.
Live Chat Icon For mobile
Up arrow icon