SIVA

SIVA

  • NA
  • 742
  • 699.3k

how to capture the selected date into textbox in asp .net

Jan 5 2012 4:44 AM
Hi All,
I need to display the selected date from calendar control into my textbox1 in ASP .Net

But if i select the calendar its showing the defalutly the following text into my textbox.

1/1/0001 12:00:00 AM

& one more thing here i dont want time. just i need only date in my textbox

for this i placed one textbox, imagebutton, calendar into my page & initially calendar is in unvisible.
& i wrote the following code into Click event of image button


What can i do for this?

Answers (3)