Sir/Madam
How to use date time picker like dropdown list in asp.net .
Thanks in advance!!!
With Regards,
Gomathi.P
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Gomathi PalaniswamyPosted Sep 18, 2010, 5:23 AM
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;
}
}
Mamta MPosted Sep 17, 2010, 1:44 AM
http://www.asp.net/community/control-gallery/Item.aspx?i=1488