New Posts New Posts RSS Feed: How to use DevExpress LookupEdit in XtraGridBindingManager?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How to use DevExpress LookupEdit in XtraGridBindingManager?

 Post Reply Post Reply
Author
Suah View Drop Down
Newbie
Newbie
Avatar

Joined: 06-Jul-2009
Posts: 16
Post Options Post Options   Quote Suah Quote  Post ReplyReply Direct Link To This Post Topic: How to use DevExpress LookupEdit in XtraGridBindingManager?
    Posted: 15-Aug-2009 at 11:59pm
How to use DevExpress LookupEdit/RepositoryItemLookUpEdit in XtraGridBindingManager?

It works fine with CBM , but I have several problem when it is in an XGBM.
Should I set the controltype in XGBM as LookUpEdit and use EntityListManager?
Or just leave it as TextEdit ,assign a RepositoryLookUpEdit to the ColumnEdit for the column in the GridView?

The sample I found here http://www.ideablade.com/forum/forum_posts.asp?TID=259&KW=lookupedit is written in old versin DevForce.

Is it possible to populate the datasource other than entites, say every stock has four price levels and they are stored in the stock table. When order details, I want to get a dropdown list to select for a line item.

Regards,

Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 17-Aug-2009 at 9:56am
Look at the Learning Units example under 070_userfaces\WinformApps\Samples\100WNF_ComposingWithUserControls.  There is an example of or an OrderUserControl that uses a DataGridViewBindingManager.  Modify this example slightly to use an XGBM instead od a DGVBM. Here is the code:
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down