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
255
How to disable user to click on WebDropDown textbox
posted

Hi,

I need to know how to disable / not allow user to click on WebDropDown textbox, they only can select the item from the item list, the textbox of webdropdown should be "readonly"

FYI,these are the property for the webdropdown: EnableMultipleSelection ="true", EnableCustomValues="false"  EnableCustomValueSelection="false" EnableAutoCompleteFirstMatch="false" DisplayMode="DropDownList"

These only prevent user to key in, but cant prevent user to select the webdropdown.

 

Parents
No Data
Reply
  • 37874
    Verified Answer
    posted

    Hello syne,

    Thank you for posting in our forum.

    Using these settings will apply a readonly attribute to the input element, rendered on the page. And it depends on the browser if a cursor will be shown in the textbox when the user click on it. Under IE and Firefox the cursor appears and under Chrome and Safari - it doesn't.

    Please let me know if you have any other questions.

Children