Note that there are some explanatory texts on larger screens.

plurals
  1. PORepository item lookUpEdit resets after losing focus
    text
    copied!<p>I have this problem for days and can't find solution for it. I tried all possible solutions i found on internet, but seems like none suits this one. Thing is that i added repository item to gridControls (i added it through designer, not through code). Then, in code i added data source to that repository lookUpEdit and i have items in dropDown in that column. But when i select item in repository and click on other cell, Selected item in repository is cleared and repository shows null value again... Any ideas what i did wrong ?</p> <p>EDIT: Also, when i click on any cell in my grid, i have delay of second or two, and after that delay clicked cell is focused... Any solutions for all of this?</p> <p>EDIT: Don't know what code to show You, because I did all in devExpress designer. Here is part of the code where I set data source to repository item, and i will give You code from designer of that repository item.</p> <pre><code>private void ConfigureRepositoryItems() { BetService.SportManagerClient dbSportManager = new BetService.SportManagerClient(); BetService.BLOddsControlSettings[] oddsControlSettings = dbSportManager.GetOddsControlSettings("", ""); repositoryOddsControlSettings1.DataSource = oddsControlSettings; } </code></pre> <p>And here is code from designer:</p> <pre><code>// // repositoryOddsCalculationSettings1 // this.repositoryOddsCalculationSettings1.AutoHeight = false; this.repositoryOddsCalculationSettings1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryOddsCalculationSettings1.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ID", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.repositoryOddsCalculationSettings1.DisplayMember = "Name"; this.repositoryOddsCalculationSettings1.Name = "repositoryOddsCalculationSettings1"; this.repositoryOddsCalculationSettings1.NullText = "Select Settings"; this.repositoryOddsCalculationSettings1.PopupSizeable = false; this.repositoryOddsCalculationSettings1.ValueMember = "ID"; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload