Sir/Madam
How to use date time picker like dropdown list in asp.net .
Thanks in advance!!!
With Regards,
Gomathi.P
Date time picker
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mamta MRank #268 · 9.4K reputationPosted Sep 16, 2010, 9:44 PM EDT
http://www.asp.net/community/control-gallery/Item.aspx?i=1488
Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Sep 18, 2010, 1:23 AM EDT
Coding :
protected void but_Click(object sender, EventArgs e)
{
Calendar1.Visible = true;
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
text.Text = Calendar1.SelectedDate.ToShortDateString();
if (text.Text == "")
{
}
else
{
Calendar1.Visible = false;
}
}