📄 activityquerycontrol.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ActivityQueryControl.ascx.cs" Inherits="CommunityServer.ControlPanel.Tools.Reports.ActivityQueryControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import Namespace = "CommunityServer.Components" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<script language="javascript">
function onBegReportPickerChange(picker)
{
<%=this.BegReportDateCalendar.ClientID %>.SetSelectedDate(picker.GetSelectedDate());
}
function onBegReportCalendarChange(calendar)
{
<%=this.BegReportDatePicker.ClientID %>.SetSelectedDate(calendar.GetSelectedDate());
}
function onEndReportPickerChange(picker)
{
<%=this.EndReportDateCalendar.ClientID %>.SetSelectedDate(picker.GetSelectedDate());
}
function onEndReportCalendarChange(calendar)
{
<%=this.EndReportDatePicker.ClientID %>.SetSelectedDate(calendar.GetSelectedDate());
}
</script>
<fieldset>
<legend>
<cp:ResourceControl id="Summary" runat="server" ResourceName="CP_Tools_Criteria" /></legend>
<table width="700" border="0" cellpadding="4" cellspacing="0">
<tr>
<td class="CommonFormFieldName"><cp:resourcecontrol runat="server" resourcename="CP_Tools_BlogActivityReport_BegReportMonth" id="Resourcecontrol8" /></td>
<td class="CommonFormField" nowrap>
<ComponentArt:Calendar id="BegReportDatePicker" ControlType="Picker" PickerFormat="Custom" allowdayselection="false"
PickerCustomFormat="MMMM d yyyy" PickerCssClass="picker" SelectedDate="2005-9-14" ClientSideOnSelectionChanged="onBegReportPickerChange"
runat="server" />
<img id="BegReportDateCalendar_button" alt="" align="absbottom" class="calendar_button" src="../images/caimages/btn_calendar.gif" width="25" height="22"
onclick="<%=this.BegReportDateCalendar.ClientID %>.SetSelectedDate(<%=this.BegReportDatePicker.ClientID %>.GetSelectedDate());<%=this.BegReportDateCalendar.ClientID %>.Show();">
<ComponentArt:Calendar runat="server" id="BegReportDateCalendar" allowmonthselection="false" allowmultipleselection="false"
allowweekselection="false" calendarcssclass="calendar" calendartitlecssclass="title" clientsideonselectionchanged="onBegReportCalendarChange"
controltype="Calendar" daycssclass="day" dayheadercssclass="dayheader" dayhovercssclass="dayhover"
daynameformat="FirstTwoLetters" monthcssclass="month" nextimageurl="../images/caimages/cal_nextMonth.gif"
nextprevcssclass="nextprev" othermonthdaycssclass="othermonthday" popup="Custom" popupexpandcontrolid="BegReportDateCalendar_button"
previmageurl="../images/caimages/cal_prevMonth.gif" selecteddate="2005-9-14" selecteddaycssclass="selectedday"
selectmonthcssclass="selector" selectmonthtext="
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -