Bug Report T286040
Visible to All Users

XtraGrid - NullReferenceException is thrown in the Format Cells menu

created 10 years ago

Add a conditional format rule to a grid column.
Edit the text Format.
Select an effect, e.g. "underline" and accept.
Edit the text format again -> The combobox "font style" is now empty. Clicking "OK" causes a NullReferenceException.

On a side note: Why are there a combobox AND checkboxes instead of just having 4 checkboxes (Adding "bold" and "italic" options)?

Comments (1)
Sasha (DevExpress Support) 10 years ago

    Hello Florian,
    I was able to reproduce the issue on my side and passed this ticket to our developers. We will let you know about our progress with it.

    On a side note: Why are there a combobox AND checkboxes instead of just having 4 checkboxes (Adding "bold" and "italic" options)?
    Our menus are designed in a manner similar to the one used to implement Excel menus. Attached is a video that demonstrates this. As you can see, Font Style can also be selected in a ComboBox with four options: Regular, Italic, Bold, Bold italic.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (2)

        I installed v15.1.7 and was still able to reproduce the issue as described by Florian. Checking an effect and reopening the dialog will cause the "Font style" combobox to go blank.

        Sasha (DevExpress Support) 9 years ago

          Hello Nico,
          I was able to reproduce the issue and informed our developers about it. We will update this thread as soon as we have any results.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.