The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I want to change the default text of the caption panel that is "Week starting Jul 30". The reason is, that I have to translate that to other languages. I also want to change the format the date is shown.
ADAdministrator Syncfusion Team October 1, 2007 09:41 AM UTC
You can change this string through the static ScheduleGrid.DisplayStrings member. This field is an array of the strings used by the Schedule control. Here is part of the information provided on this member through the class reference.
public static string[] DisplayStrings = new string[] { "no closing delimiter error", // 0 "(none)", // 1 "Week starting ", // 2 "Starting ", // 3 " Double Click to Add All Day Event" // 4 };
CGChristoph GasserOctober 14, 2007 09:43 AM UTC
This worked out perfectly fine! Thanx.
TSTruth SeekerAugust 22, 2017 06:56 AM UTC
That was in 2007, how do you do this now?
PMPiruthiviraj Malaimelraj Syncfusion Team August 22, 2017 11:27 AM UTC
Hi Truth,
Thanks for your update,
The ScheduleControl display texts are maintained in DisplayStrings collection. So, in order to translate the ScheduleControl display texts to other languages , use the text from DisplayStrings collection and change it to your preferred languages. Already we have KB for this requirement. Please refer to the below code snippet and KB,
Code snippet:
//Change the text “Double Click to Add All Day Event”
ScheduleGrid.DisplayStrings[4] = “in your language”