Please;
I am new in ASP.Net would any body help me to resolve this problem.
How to selecet date from a single calendar for two differen text boxes using two buttons.
Please Help me.
Thanks to who would resolve this problem.
Please;
I am new in ASP.Net would any body help me to resolve this problem.
How to selecet date from a single calendar for two differen text boxes using two buttons.
Please Help me.
Thanks to who would resolve this problem.
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.
Kirtan PatelPosted Oct 10, 2008, 9:14 PM
txtFirst and txtSecond
protected void Button2_Click(object sender, EventArgs e)
{
txtFirst.Text = Calender1.SelectedDate.Date.ToString();
}
protected void Button1_Click(object sender, EventArgs e)
{
txtSecond.Text = Calender1.SelectedDate.Date.ToString();
}
Hope this will help you
:)