Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 09-19-2009, 02:11 PM   #1
Default Holidays in Calendar Extendar


How can i select multiple dates from calendar. Also if i want to take some days from database and mark them as holidays in calendar extendar how will i do it.

Thanks in advance


Anjut
Anjut is offline   Reply With Quote
Old 10-26-2009, 11:05 AM   #2
Anjut
Junior Member
 
Join Date: Sep 2009
Posts: 7
Default
I did it then through following code
static ArrayList adate = new ArrayList();

private void monthCalendar1_DateSelected(object sender, DateRangeEventArgs e)
{
adate.Add(e.End.Date);
monthCalendar1.AddBoldedDate(e.End.Date);
//monthCalendar1.TitleBackColor = System.Drawing.Color.Red;
}

private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < adate.Count; i++)
{
textBox1.Text = textBox1.Text + "," + Convert.ToDateTime(adate[i].ToString()).Date.ToString("dd/MM/yy");
}
}

I hope it helps


Anjut
Anjut is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will someone help with Popup Calendar scripting inthedark The Lounge 0 12-25-2008 09:08 PM
Will someone help with Popup Calendar scripting inthedark The Lounge 0 12-25-2008 08:57 PM
exporting data to outlook calendar NIKI Software 0 07-06-2006 02:09 PM
DVD Verdict reviews: HOPE FOR THE HOLIDAYS, THE SIMPSONS CHRISTMAS 2, and more! DVD Verdict DVD Video 0 12-24-2004 10:11 AM
HAPPY HOLIDAYS FROM MARK @ GENRE ONLINE.NET Writer R5 DVD Video 2 12-26-2003 02:43 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46