First of all, let me say that I have a solution to this and I’m posting just to make you aware of it and to hopefully help someone else.
My solution was to add the following to my password textbox:
AutoCompleteType="Disabled"
Here is the description of the problem. My page had lots of controls (that’s why I cannot include the whole markup) one was a RadTextBox with TextMode=”Password”, another was a RadDatePicker and finally there was a button that caused a postback.
The input controls were both blank and readonly.
Neither control had any validators attached.
Upon clicking the button a postback occurred and I got the following error:
Text property cannot be set. String was not recognized as a valid DateTime.
RangeTextProperty at offset 192 in file:line:column <filename unknown>:0:0
set_Text at offset 22 in file:line:column <filename unknown>:0:0
LoadPostData at offset 312 in file:line:column <filename unknown>:0:0
System.Web.UI.IPostBackDataHandler.LoadPostData at offset 13 in file:line:column <filename unknown>:0:0
ProcessPostData at offset 346 in file:line:column <filename unknown>:0:0
ProcessRequestMain at offset 1743 in file:line:column <filename unknown>:0:0
The cause of the problem was Chrome was entering a password in textbox for me (even though it was readonly and explicitly set to be blank).
When I switched to IE and the password was not entered by the browser the postback worked just fine.
Once I added
AutoCompleteType="Disabled"
To the RadTextBox the error went away.
Interestingly, when I was getting the error and I clicked the back button to make the error message go away, if I put the cursor in the RadDatePicker the value NaN/NaN/0NaN would appear in the control.
Hope this helps someone.