Click here to Skip to main content
15,908,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to show only months in text box using calendarextender without click the textbox in runtime?
Posted
Comments
Dipankar Basu 17-Nov-11 0:49am    
Do you want to select a date from CalenderExtender and the textbox will show only month ???

Explain .....
Hari Krishna Prasad Inakoti 17-Nov-11 1:49am    
yes dude

Just visit the below link
Click here[^]

I think it will be useful.
 
Share this answer
 
TextBox1.Text = CalenderExtender1.SelectedDate.ToString("MMMM"); // November
TextBox1.Text = CalenderExtender1.SelectedDate.ToString("MM"); // 11
TextBox1.Text = CalenderExtender1.SelectedDate.ToString("MMM"); // Nov
 
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