Select Multiple Non-Sequential Dates... How to select multiple non-sequential dates at Code-Behind Using “add()” Function You Can Add Collection Of Dates. You Can Add Dates In Any Sequence, Because Finally The Collection Will Automatically Arrange Them In Soting Order For You.
CSS Copy
Normal
0
false
false
false
EN-US
X -NONE
X -NONE
table .MsoNormalTable
{mso-style-name:"Table Normal" ;
mso-tstyle-rowband-size:0 ;
mso-tstyle-colband-size:0 ;
mso-style-noshow:yes;
mso-style-priority:99 ;
mso-style-qformat:yes;
mso-style-parent:"" ;
mso-padding -alt:0in 5.4pt 0in 5.4pt ;
mso-para-margin-top :0in ;
mso-para-margin-right :0in ;
mso-para-margin-bottom :10.0pt ;
mso-para-margin-left :0in ;
line-height :115% ;
mso-pagination:widow-orphan;
font-size :11.0pt ;
font-family :"Calibri" ,"sans-serif" ;
mso-ascii-font-family :Calibri;
mso-ascii-theme-font :minor-latin;
mso-hansi-font-family :Calibri;
mso-hansi-theme-font :minor-latin;}protected
void Calendar1_SelectionChanged(object sender, EventArgs e)
{
Calendar1.SelectedDates .Clear ();
Calendar1.SelectedDates .Add (new DateTime (2010,
7, 10));
Calendar1.SelectedDates .Add (new DateTime (2010,
7, 22));
Calendar1.SelectedDates .Add (new DateTime (2010,
7, 28));
}
Join the conversation! Your thoughts help the community grow.