Current filter:
                                You should refresh the page.
                                0
                                  • I try to set the background color of the selected item, it works when i enter a named color like 'Black', but when i enter '#DF007A' it does not affect my bgcolor.

                                    Here is my code snipped:

                                    <dx:ASPxMenu ID="ASPxMenu1" runat="server" AllowSelectItem="True"
                                                EnableDefaultAppearance="False" ItemSpacing="5px">
                                                <Items>
                                                    <dx:MenuItem>
                                                    </dx:MenuItem>
                                                    <dx:MenuItem>
                                                    </dx:MenuItem>
                                                    <dx:MenuItem>
                                                    </dx:MenuItem>
                                                    <dx:MenuItem>
                                                    </dx:MenuItem>
                                                </Items>
                                                <ItemStyle Height="30px">

                                                    <SelectedStyle BackColor="#DF007A" ForeColor="White">
                                                    </SelectedStyle>

                                                    <HoverStyle BackColor="#DF007A" ForeColor="White">
                                                    </HoverStyle>

                                                    <Paddings PaddingLeft="7px" PaddingRight="7px" />
                                                    <Border BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" />

                                                </ItemStyle>
                                            </dx:ASPxMenu>

                                    Thanx

                                0

                                Hi Carsten,

                                I have reproduced the issue and passed it to our team for more detailed research. I will keep you informed of any progress.

                                With best regards,
                                Ivan N.

                                0

                                Hi Carsten,

                                This problem occurs only if the SelectedStyle is configured in the same way as HoverStyle. So, as a workaround you may make little changes in HoverStyle: e.g., use #DF007B color instead of #DF007A.

                                Please let us know if it helps.

                                With best regards,
                                Dmitry

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.