Forum Discussion

sitasrikanth's avatar
sitasrikanth
Contributor
12 years ago

Drop-down box cannot be closed...

Hi, I have a drop -down and each item has a checkbox. When selecting a item in the drop-down using the method ClickItem, Item is getting selected sucessfully. But Issue here is once item...
  • dganov's avatar
    12 years ago
    Create OnLogError event handler - see Creating Event Handlers.

    The handler code should be like this:



    function OnLogError(Sender, LogParams)

    {

      if (LogParams.MessageText == "The drop-down box cannot be closed.")

        LogParams.Locked = true; // tells to suppress this message

    }