Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
459
UltraComboEditor Image Questions
posted

We are using an UltraComboEditor in 2009.2 to display an image along with the text entry in the value list.

Two questions:

1. Is is possible to display the image in the dropdown but not in the UltraComboEditor itself?  The images we are displaying are large and are useless when they scaled to fit in the 'textbox' along with the display text.

2. For the text that is displayed along with the image in the dropdown, is it possible to have it exist above the image instead of to the left or right of the image?

Thanks,

-David

  • 469350
    Verified Answer
    Offline posted

    Hi David,

    dpalau said:
    1. Is is possible to display the image in the dropdown but not in the UltraComboEditor itself?  The images we are displaying are large and are useless when they scaled to fit in the 'textbox' along with the display text.

    For UltraComboEditor, the only way to do this currently would be to use a CreationFilter to remove the image element.

    I recommend using UltraCombo instead. With UltraCombo, you could put the image into a separate column so it won't show up in the edit portion of the control. Or you could set EditAreaDisplayStyle to DisplayText if the image is in the same column with the DisplayText.

    Also, I encourage you to Submit a feature request to Infragistics to the effect that the UltraComboEditor have an EditAreaDisplayStyle property added to it in the future.

    dpalau said:
    2. For the text that is displayed along with the image in the dropdown, is it possible to have it exist above the image instead of to the left or right of the image?

    I don't see any easy way to do this with either UltraComboEditor or UltraCombo. It should theoretically be possible with UltraCombo using a CreationFilter, but it would be pretty tricky, as you would have to calculate the heights of the rows yourself.

    This is another good candidate for a feature request.

    Save Ferris!