Each culture has different conventions and formats for displaying dates, time, numbers, and other information. This topic illustrates four different ways to set the culture of a C1Schedule using the Culture property.
Setting the Culture Using the Designer
To set the culture of a C1Schedule control, complete the following steps:
1. Click once on the C1Schedule control to select it and navigate to the Properties window.
2. Click the drop-down arrow next to Culture and select a culture from the list. For example, select Japanese (Japan).
Your C1Schedule now shows a Japanese culture format.
Setting the Culture in Source View
To set the culture in Source view, add Culture="Japanese (Japan)" to the <cc1:C1Schedule> tag. Once you've set this property, your markup will resemble the following:
<cc1:C1Schedule ID="C1Schedule1" runat="server" Culture="Japanese (Japan)">
Setting the Culture Programmatically
To set the culture programmatically, use the following instructions:
1. Import the following namespace into your project:
2. Add the following code into the Page_Load event:
C1Schedule1.Culture = new CultureInfo("ja-JP")
C1Schedule1.Culture = new CultureInfo("ja-JP");
What You've Accomplished