Hi there.
I have a program with a C1DockingTab with three tab pages. I have put C1DateEdit controls on all tab pages.
Sometimes I want to clear the C1DateEdit controls and I use the Clear() method. I have set the EmptyAsNull to True so I do not get the The entered string cannot be parsed... error message.
But when I use the Clear() method on C1DateEdit controls that are on an other tab page than the one visible I get an error message saying "Can't assign text to readonly, disabled or hidden C1Input control when its Text property is not detached."
I get the same error if I set Enabled = false on the Panel control that contains the C1DateEdit controls. I have to enable the Panel in order to use the Clear() method.
I have read that the textbox in the C1DateEdit control inherits from the TextBox control. However the Clear() method on the TextBox method works fine with not visible TextBoxes. Could there be a bug in the C1DateEdit?
To solve my problem I set the C1DateEdit.Value = null and it works fine - but why is there a Clear() method if it works better setting the value = null.
Best regards,
SteffenJ