Click here to Skip to main content
15,942,363 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am used 2 drop down list and calendar control.
first dropdownlist having all months, another one dropdownlist having 2 years of 2012 and 2013.

now i am selecting one months and year from dropdownlist, after that i want particular selected months and year visible in calendar control.

how is it? please help me..
Posted
Updated 4-Mar-12 21:46pm
v2

try with Calendar.selectdate(Datetime)
pass ur dropdown values as input...
 
Share this answer
 
Comments
murugeshchinnu 5-Mar-12 23:44pm    
Thank You
Write Following coding in Button:

Calendar1.VisibleDate = new DateTime(Calendar1.TodaysDate.Year, ddl_month.SelectedIndex+1,1);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900