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.
Syncfusion Feedback

Change CaptionPanel text

Thread ID:

Created:

Updated:

Platform:

Replies:

68736 Sep 30,2007 12:58 PM UTC Aug 22,2017 11:27 AM UTC Windows Forms 4
loading
Tags: ScheduleControl
Christoph Gasser
Asked On September 30, 2007 12:58 PM UTC

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.

BR
Christoph

Administrator [Syncfusion]
Replied On 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
};


Christoph Gasser
Replied On October 14, 2007 09:43 AM UTC

This worked out perfectly fine! Thanx.

Truth Seeker
Replied On August 22, 2017 06:56 AM UTC

That was in 2007, how do you do this now?


Piruthiviraj Malaimelraj [Syncfusion]
Replied On 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” 

KB link: 

Regards, 
Piruthiviraj 


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.

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

;