- Online Barcode Generator
- How To
- Buy Now
Kettic C# ASP.NET calendar component offers a numbers of navigation properties to display and choose date, month and year values.
As demonstrated in ASP.NET calendar navigation control tutorial, each navigation button has three properties that can be used to control its appearance: image attribute, text property, and tooltip attribute. The meaning of these three properties is very easy: if we choose the image property, the image will be used to represent the button; if we set the property as text, the button will be represented in text and if we select tooltip property, the tooltip will appear when we hover the mouse over the button.
Use C# Codes to Set Forward 1 Viewer/ Back 1 Viewer
As you can see from the sample navigation button image, the arrow buttons ("<" or ">") is usd to click to move the view back or forward in single-view mode. However, if the asp.net calendar is in multi-view mode, we can click these buttons to change the view by the number of months shown in a single view.
PerCalendar1.EnableNavigation = true;
Use C# Codes to Set Forward N Views/ Back N Views
This property will appear as double arrow buttons ("<<" or ">>") that can be used to move the current view by a fixed number of views, which is set by the FastNavigationStep control. The interpretations for Forward N Views/ Back N Views in image, text and tooltip properties are as below:
PerCalendar1.FastNavigationPrevImage = "~/Images/Calendar/fastprev.jpg";
Use C# Codes to Set Month and Year Selector
When set month and year values with calendar selectors within C# ASP.NET application, we are supposed to be familiar with the related following properties:
PerCalendar1.FastNavigationStyle.BorderStyle = BorderStyle.Solid;
ASP.NET AJAX UI Controls