Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. LookupEdit of DevExpress

LookupEdit of DevExpress

Scheduled Pinned Locked Moved C#
helpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nps_ltv
    wrote on last edited by
    #1

    Hi, I'm using a LookUpEdit in my XtraGrid, which I connect to a datasource at runtime. When I select a value from the LookUpEdit, everythings fine, the selected value is shown in the cell, but when this cell loses its focus, the cell becomes empty. When I use a ComboBox which I manually fill at runtime, I do not have this problem. Any Ideas on solving this problem? Please help me! Thanks. NPS.

    A 1 Reply Last reply
    0
    • N nps_ltv

      Hi, I'm using a LookUpEdit in my XtraGrid, which I connect to a datasource at runtime. When I select a value from the LookUpEdit, everythings fine, the selected value is shown in the cell, but when this cell loses its focus, the cell becomes empty. When I use a ComboBox which I manually fill at runtime, I do not have this problem. Any Ideas on solving this problem? Please help me! Thanks. NPS.

      A Offline
      A Offline
      AETaylor
      wrote on last edited by
      #2

      Have you set the Properties.DisplayMember & Properties.ValueMember?

      N 1 Reply Last reply
      0
      • A AETaylor

        Have you set the Properties.DisplayMember & Properties.ValueMember?

        N Offline
        N Offline
        nps_ltv
        wrote on last edited by
        #3

        Yes. NPS.

        A 1 Reply Last reply
        0
        • N nps_ltv

          Yes. NPS.

          A Offline
          A Offline
          AETaylor
          wrote on last edited by
          #4

          Hmm, well that's pretty much all I do. 1) Set the Properties.DataSource 2) Set the Properties.ValueMember 3) Set the Properties.DisplayMember 4) Set up the Properties.Columns If the data is missing after you move away, is the lookup dataset being closed?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups