<asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="White"
BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" OnDayRender="Calendar1_DayRender"
OnSelectionChanged="Calendar1_SelectionChange" OnVisibleMonthChanged="Calendar1_VisibleMonthChanged"
Height="190px" Style="margin-left: 168px;" NextPrevFormat="FullMonth"
Width="423px">
<SelectedDayStyle BackColor="#333399" ForeColor="White" />
<TodayDayStyle BackColor="#CCCCCC" />
<OtherMonthDayStyle ForeColor="#999999" />
<NextPrevStyle Font-Size="8pt" ForeColor="#333333" Font-Bold="True" VerticalAlign="Bottom" />
<DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
<TitleStyle BackColor="White" Font-Bold="True" Font-Size="12pt" ForeColor="#333399"
BorderColor="Black" BorderWidth="4px" />
</asp:Calendar>
I am working with a calendar control as shown above. I have a requirement to trigger a popup message using a JavaScript function when any of the dates on the calendar is clicked.