tags:

views:

231

answers:

1

hi, i have textbox , and i am using ajax calendar control. by default the textbox should show today date like ( 04/08/2009 ) and if the user wants to change the d ate he can clik on the textbox which will pop up a ajax calendar control. sothere he can select.

by default the textbox should always show 2day date. thnak you

A: 

txtBox.Text = DateTime.Now.ToShortDateString() in the code behind will work.

RichardOD