Hi there,

i've encoutered some problems with the PopupMenuButton. When I try to assign a css-class to the control, the class-property does not appear in the generated html-code. Also, the position of the control gets lost and it is drawn at the upper left corner of the page.

I've already tried it in a new, clean project with no template but ended up with the same results.

I'm using Delphi XE2 Update 4 with Intraweb 14.0.22.

Thanks for any help with this.


Please note that using CSS to style the TIWPopupMenuButton is not supported.
The control was specifically designed to be styled using the available properties.

Thank you for your answer, but ther is a css property, which i am using.

The CSS property is a default IntraWeb property that is available because the TIWPopupMenuButton inherits from a standard IntraWeb control.
Can you please confirm if there are any issues with the TIWPopupMenuButton control if the CSS property is left empty?

With an empty css- property the control works fine.