Forums

Combobox and LinqServerModeDataSource

Last post 1/5/2009 12:21 PM by Frost. 1 replies.
Sort Posts: Previous Next
  • Frost

    Combobox and LinqServerModeDataSource

    12/31/2008 1:41 PM
    • Top 500 Contributor
    • Joined on 9/10/2008
    • Posts 73

     Hi,

    We have some dropdownlists that I thought would perform better as a Devexpress combobox control due to the available features.  The problem is that they have alot of records that load (about 30 to 40k) in the list so abviously we having some speed issues.  After watching the training video on LinqServerModeDataSource's I thought I would try that to see if it was any faster.  However after creating the linqtoSQL class and adding my database table, I went and bound the combobox to a LinqServerModeDataSource database but upon running the app I get a compilation error.  I did add the reference in my project to the DevExpress.Data.v8.3.Linq dll in hopes that would solve it but it did not.

    The compilation error I'm getting is:

    "Key expression is undefined"

    I have selected a text field and value field in my combobox so I'm not sure why I'm getting that error.  The LinqToSQL class is setup and has a table in it. 

    Any ideas?

    Thanks

  • Frost

    Re: Combobox and LinqServerModeDataSource

    1/5/2009 12:21 PM
    • Top 500 Contributor
    • Joined on 9/10/2008
    • Posts 73
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.