in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

Problem with selection

Last post 8/26/2008 1:24 PM by drew... 5 replies.
Page 1 of 1 (6 items)
Sort Posts:
Previous Next
  • 8/25/2008 7:20 AM

    Problem with selection

    Hi all,

    I have a problem when selecting an item from comboBox: I want to select the description but it give me the oid.

    I have a class company that have a property zip code. the zip code is in hierarchical class named sectors. when i select a zip code in the company window it show me: Sectors.ZipCode(ec241139-4572-...)

    Please help me it's urgent.

    Thanks a lot.

  • 8/25/2008 10:59 AM In reply to

    • drew..
    • Top 25 Contributor
    • Joined on 5/7/2007
    • Victoria, BC
    • Posts 834

    Re: Problem with selection

     Hi Souheil, each BO needs a default property to allow the dropdowns to display a meaningful list, else it will show ID's as you see. If your BO has the Name property, this will act as the default default, else you need to mark your BO with [System.ComponentModel.DefaultProperty("YourPropertyNameHere")] ... hth, drew..

  • 8/25/2008 1:13 PM In reply to

    Re: Problem with selection

    Doesn't DX have a loyal community?
    We really take care of spreading the word about their products ;-)
     
    regards, Robert
     
  • 8/25/2008 1:20 PM In reply to

    Re: Problem with selection

    Doesn't DX have a loyal community?
    We really take care of spreading the word about their products ;-)
     
     
     
    Sorry, this should have been gone to the XPO group...
    Seems my newsreader has gone crazy - or was it me?
     
    regards, Robert
     
     
  • 8/26/2008 4:59 AM In reply to

    Re: Problem with selection

     Thanks a lot drew, that's what I have to do Wink

  • 8/26/2008 1:24 PM In reply to

    • drew..
    • Top 25 Contributor
    • Joined on 5/7/2007
    • Victoria, BC
    • Posts 834

    Re: Problem with selection

    Robert Fuchs:
    We really take care of spreading the word about their products ;-)
     

    and here i thought you were complimenting me.... sigh Whisper

Page 1 of 1 (6 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED