liorlankril
Programmer
I have a web form in .NET 2005 (c#).
My form contain a TextBox control (called "BirthDate") and ImageButton. One of the TextBox property is ReadOnly=true. Click on the button open a calendar object thatlet the user to select date. The selected date get into the TextBox control (by javascript function - client code).
I use "ReadOnly=true" since I want the user to use only the calander object to insert date.
The problem is when I try to submit the form, I try to read the TextBox value ("BirthDate.Text" - server code) but it's value is empty string and not the value that I select by the calander.
What's can be the problem? why it's happen in VS 2005 and not in 2003???