Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
Input with ultraCalendarCombo
posted

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

h090401
s640201
s041220
t150101
m300303
1995.9.1
1995-09-01
1995.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.

Parents
  • 190
    posted

    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;

    }

Reply Children