2

Suppose I have Calender and and I want to select multiple date and display in label. I have use following code but it is not working properly. Please correct it

lblMultipleDate.Text = Calendar1.SelectedDates[0].ToShortDateString();
Label2.Text = Calendar1.SelectedDates[Calendar1.SelectedDates.Count-1].ToShortDateString();

1 Answer 1

2

Here is a link on how to select multiple dates in Calendar control:

Calendar control with multiple date selections

Hopefully, it helps.

Sign up to request clarification or add additional context in comments.

3 Comments

dead link, and this is why it is suggested to never answer with only a link
@peroija, thanks for the tip. Just tried the link, and it works.
aaaaaaaaaaaaaaand its back up. Apparently I had clicked it when the host's 99.99% uptime failed :P

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.