RepositoryItemLookUpEdit not showing columns after assign datasource
  • hi all i am trying to fill RepositoryItemLookUpEdit in devexpress 13.2 using vb.net code below code was working fine in devexpress version 8 but its not working in 13.2 any idea about it.

    repositoryGridLookup.DataSource = bsProducts;
    repositoryGridLookup.DisplayMember
    = "ProductName";
    repositoryGridLookup.ValueMember = "ProductId";
  • 2 Comments sorted by
  • Vote Up0Vote Down ithackerithacker
    117.50 Karma Accepted Answer
    Hi @Coder

    Add one more line in your code see which is bold below

    repositoryGridLookup.DataSource = bsProducts;
    //for newer
    version
    repositoryGridLookup.View.PopulateColumns(repositoryGridLookup.DataSource);

    repositoryGridLookup.DisplayMember
    = "ProductName";
    repositoryGridLookup.ValueMember = "ProductId";

  • thanks for quick response its worked.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Tagged

Popular Posts of the Week

Optimum Creative