KaxTimeViewShowFooter Property |
Gets or sets a value indicating whether the footer section is displayed in the KaxTimeView control.
Namespace: Kettic.AspNet.Controls
Use the ShowFooter property to specify whether the footer section is displayed in the KaxTimeView control.
You can control the appearance of the footer section by setting the FooterStyle property. The contents of the footer section are controlled by the FooterTemplate property.
The following code example demonstrates how to use the ShowFooter property to display the footer section in the KaxTimeView control.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="KaxCalendar.Net2" Namespace="Kettic.AspNetControls" TagPrefix="kaxCln" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <kaxCln:KaxTimePicker ID="KaxTimePicker1" runat="server"> <TimeView ShowFooter="true" > <FooterTemplate> <asp:Label ID="Label1" runat="server" Text="Hello Footer!"></asp:Label> </FooterTemplate> </TimeView> </kaxCln:KaxTimePicker> </div> </form> </body> </html>