DevExpress

5 Beiträge

Set A DevExpress RepositoryItemLookupEditor to Display Text From A Referenced Table

That’s what a LookupEditor is intended for: display text from another table that is referenced by an external key. public RepositoryItemLookUpEdit GetRepositoryEditorLookup(T element) { var rep = new RepositoryItemLookUpEdit(); rep.BeginInit(); if (_entities == null) { return null; } var set = _entities.CreateObjectSet<T>(); // create the list of objects of type […]