How to get rid off the ("Edit List Items")icon displaying under combobox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aditijangir
    New Member
    • May 2015
    • 17

    How to get rid off the ("Edit List Items")icon displaying under combobox

    Hi friends,

    The problem which I want to rectify is really small but it seems like I am not able to find the solution for it.

    The scenario is like:

    I have a form with a bound combobox. Now that combobox displays EmployeeId based on the query fired. But the problem is that user should not be able to edit the combobox details.

    What is happening:
    When the user clicks on the combobox the user is able to see an icon "Edit List Item", which lead to the form where we can add users. Which should not happen, as per the permissions.

    What approaches I used:
    I tried setting the Enabled property as "No", but than whenever the user presses "Save & New" the Combobox value is also set as null. As a result the user have to reach out the form every time a new entry has to be made, which is not feasible . ( I tried using Combobox.ListIn dex = 0, but nothing helped me out).

    Also, Locked and Auto Expand property are set to "No".

    Please find the attachment for clear idea.

    I hope I am making some sense.

    Looking forward for a solution.

    Thanks in advance.
    Attached Files
  • Seth Schrock
    Recognized Expert Specialist
    • Dec 2010
    • 2965

    #2
    Try setting the ComboBox's Limit To List Property to Yes and the Allow Value List Edits to No and clear the List Items Edit Form to nothing.

    Comment

    • aditijangir
      New Member
      • May 2015
      • 17

      #3
      Oh great!

      I found that List Items Edit Form was not null due to which the form was accessible. Else everything was same.

      Thanks a lot :D

      Comment

      Working...