Dear Experts,
In my web form, I've a few textbox controls. These controls are to capture
date and time. Therefore, I've a calendar link to allow user to make a date
and time selection into the textbox control. While the textbox control is
read-only mode. All these textbox controls are having the same attributes:
Read-only : True
EnableViewState : True
AutoPostBack : True
While the calendar link is calling a Javascript as follow:
<a href="javascript:NewCal('<textbox name>','ddmmmyyyy',true,24)"><span
style="font-size: 10pt"><asp:Label ID="lblCompletionCalendar" runat="server"
Text="Calendar" Visible="False"></asp:Label>
My problem is, there is one particular textbox control when I click on a
button to update the value into the database, the textbox control is being
refresh to empty text while the rest of textbox controls remain with the
value selected earlier. I've check the attribute and is all the same as the
rest of the textbox control.
May I get some help from you on solving this problem?
Thanks in advance.
Regards,
SB