Hi,
I displayed current datetime on textbox focus event and i enter some data uner the datetime in textbox,
when i go out side of the text box and came back,the data whatever i enter in textbox is removed only datetime is displaying.
but i need datetime and data when i focus second time on text box.
Please help in this.
Thanks in advance,
sona
VulpesPosted Apr 6, 2013, 6:20 AM
Try this code:
Javeed M ShaikhPosted Apr 5, 2013, 5:50 PM
in your textbox focus event you can check if the textbox already has some data then you dont need to display the textbox with current datetime and you can skip the process, this way the value in your textbox is not overwritten.