MVC5 Classic
Hide the Navigation Bar

By default the wijeventscalendar displays a navigation bar at the bottom of the control. The navigation bar notes the selected date and lets the user navigate to previous or following dates or months at run time. You can disable the navigation bar by setting the navigationBarVisible option to False.

  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 navigationBarVisible option.
    <script type="text/javascript">
            $(document).ready(function () {
                $("#eventscalendar").wijevcal({
                    navigationBarVisible: false
                });
            });
           </script>
    
  4. When you run the application, the events calendar will look similar to the following image. Notice the Navigation bar is missing.

 

 


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

Product Support Forum |  Documentation Feedback