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
55
UltraDateTimeEditor - Force select via drop down
posted

 This was asked on the old mailing list, I never saw a response:

I would like to make the edit portion of the UltraDateTimeEditor control non-
editable (probably not a real word) and force the user to select a date only
from the dropdown portion of the control.

Is this possible?
 

Cheers,

-r
EDIT: This was posted in the wrong forum it looks like. Would an admin please mod? Thank you. 
  • 85
    posted

    This is something not supported in infragistics but required behavior can be achieved by handling KeyPress event.

            private void ultraDateTimeEditor1_KeyPress(object sender, KeyPressEventArgs e)
            {
                e.Handled = true;
            }

  • 469350
    Verified Answer
    Offline posted

    I don't think the control supports this. You can Submit a feature request to Infragistics.

    Out of curiosity, why would you want to prevent the user from typing or using the keyboard to change the date?