MVC5 Classic
Change the Culture

Each culture has different conventions and formats for displaying dates, time, numbers, and other information. This topic illustrates how to set the culture of a wijeventscalendar using the culture option.

  1. Create an C1 ASP.NET MVC 5 Web Application.
  2. In the Solution Explorer, expand the Views | Shared folder and double-click _Layout.cshtml to open the file.
  3. After the last closing </script> tag  in the references, enter the following jQuery script to initialize the wijeventscalendar widget and set the selectedDate option.
    <script type="text/javascript">
            $(document).ready(function () {
                $("#eventscalendar").wijevcal({
                culture: " de-DE"
                });
            });
           </script>
    
  4. When you run the application, the events calendar will appear in German.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback