Hi. I want to alter the filter text on the grid that is being displayed when the UltraDropDownButton is clicked and I'm trying to base that on whether the UltraDropDownButton was left-clicked or right-clicked. However none of the Click event and MouseClick event seems to get invoked. Is this a bug or should I consider another event where to implement this?
Hi,
What filter text are you referring to?
Which controls are you using? You are posting in the Commands and Editors forum and the title of your post says "UltraDropDownButton". But UltraDropDownButton has not filtering functionality and has no relationship to a grid.
I am guessing that you probably mean UltraDropDown and not UltraDropDownButton, but I'm still not clear on what text you are referring to or what you are clicking on.
I'm sorry if I'm on the wrong section, kindly move it as needed.
Anyhow, this is how it's been set up:
UltraDropDownButton has an UltraPopupControlContainer as its PopupItem. That UltraPopupControlContainer on the other hand has an UltraGrid for its PopupControl. These assignments are made at design-time by the way.
Clicking the UltraDropDownButton will pop up the populated UltraGrid. Now depending on how the UltraDropDownButton was clicked (right or left) I want to toggle the clearing of the filter on the UltraGrid. Thing is, the Click/MouseClick events of the UltraDropDown doesn't seem to get invoked.
I don't see any reason why the click event on the control should not be firing at all. That seems like it might be a bug.
But in any case, it would probably be better to use the MouseDown event, anyway. Does MouseDown fire?