Hi, team
Recently I used the control ultraCalendarCombo and got a question.
When I input some value in the ultraCalendarCombo, I can't get the value that I just inputed.
Is it the property of ultraCalendarCombo.value?
e.g the value that I inputed
h090401s640201s041220t150101m3003031995.9.11995-09-011995.9-01
But with the format like "1995/09/01", that I could get the value.
I was wondering if it's prossible that I could get whatever the formated date I input when I using ultraCalendarCombo?
Could you please help me with that?
Thanks for your concern.
Hi Richard,
If you enter invalid value then it takes the old value by ignoring the value you just have entered.
You can capture the value that you just have entered on "ValidationError" event and modify.
Ex:
this.ultraCalendarCombo1.ValidationError+=ultraCalendarCombo1_ValidationError;
private void ultraCalendarCombo1_ValidationError(object sender, DateValidationErrorEventArgs e) { string enteredValue = this.ultraCalendarCombo1.Text; }
Hi, Siva Sankar
Thanks for replying. And I've got the error format date value in enteredValue, and change them like strings below.
平成26年12月平成07年09月03日1995年09月03日不明2014年12月2014年
What if I just want to set these values to the ultraCalendarCombo controls, is that prossible to implement?