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
425
How do I disable the ability to select text?
posted

I have an UltraCombo set as the EditorControl of a column in a grid (we are using UltraCombo instead of UltraDropDown for various reasons). Is it possible to disable text selection? I want the cell to be in edit mode but without the cell text to be highlighted either automatically or manually by the user. In other words, is there a way to force SelLength or SelectionLength to always be empty?

Parents
  • 469350
    Verified Answer
    Offline posted

    If you want to force the user to choose from the list and not be able to type or select text, it sounds like you need to set the Style of the Column to DropDownList.

    If that's not what you want, then I know of no way to prevent the user from selecting text except maybe disabling the cell, which would make the dropdown inaccessible, as well.  

Reply Children