ComponentART 使用
ComponentART中的Grid中使用Calendar和Picker的時候,如何設定帶的默認值.
<ComponentArt:Calendar id="Picker1"
runat="server"
PickerFormat="Custom"
PickerCustomFormat="yyyy/MM/dd"
SelectedDate="2008/09/13"
ControlType="Picker"
AllowDaySelection ="true"
AllowMonthSelection = "true"
AllowWeekSelection = "true"
ClientSideOnSelectionChanged="Picker1_OnDateChange"
PickerCssClass="picker" />
<ComponentArt:Calendar runat="server"
id="Calendar1"
AllowMultipleSelection="false"
AllowWeekSelection="false"
AllowMonthSelection="false"
ControlType="Calendar"
PopUp="Custom"
PopUpExpandControlId="calendar_from_button"
CalendarTitleCssClass="title"
SelectedDate="2008/09/13"
VisibleDate="2008/09/13"
ClientSideOnSelectionChanged="Calendar1_OnChange"
DayHeaderCssClass="dayheader"
DayCssClass="day"
DayHoverCssClass="dayhover"
OtherMonthDayCssClass="othermonthday"
SelectedDayCssClass="selectedday"
CalendarCssClass="calendar"
NextPrevCssClass="nextprev"
MonthCssClass="month"
SwapSlide="Linear"
SwapDuration="300"
DayNameFormat="FirstTwoLetters"
PrevImageUrl="images/cal_prevMonth.gif"
NextImageUrl="images/cal_nextMonth.gif"
/>
|