Question: I have a textbox.In its onclick iam calling a javascript fn to call calendar.Texbox is readonly. Clicking on textbox calendar is coming and value is showing in textbox. But on clicking submit button where I have written code to save, there i am not getting value in textbox. What may be the reason for that?

Answer: 
I had this problem too, there is a really simple workaround

Instead of making the textbox ReadOnly using properties option. Do it thru the code behind adding this code:

```
YourTextBox.Attributes.Add("readonly", "readonly");

```
I'm guessing the textbox is disabled so that people have to use the calendar control to enter a date? The textbox is just for showing the selected date?

If you want the textbox to stay readonly (i.e. disabled client-side), have a hidden input that has the value you want to handle on the server is the way to go probably. So add an additional input for to the page. Use

```
<asp:HiddenField ... runat="server" />

```

So the client-side code that updates your readonly textbox will also update your hidden input.