Sort - Only initializers, entity members ...

4 posts, 0 answers
  1. Michael Salzlechner
    Michael Salzlechner avatar
    41 posts
    Member since:
    Jan 2010

    Posted 02 Jul 2010 Link to this post

    Due to some issues with a leacy database system i started implemeting the following

    Standard entity model
    Manual entity classes that duplicate the model but add required features for the legacy db

    the domain service has queries that query against the original em and then convert the data to the manual entity classes like this

    IQueryable<myEntity> qry = ObjectContext.myEntity;  
    var nqry = from q in qry  
                       select new MANUALENTITY()  
                            field1 = q.field1,  
                            field2 = q.field2  

    everything works fine. Fills the Radgrid, allows paging, etc

    but it fails when i click the column header with the following exception

    Only initializers, entity members, and entity navigation properties are supported.

    tried all kinds of things but wasnt able to get around this yet

    Any ideas what i can do to fix this ?



  2. Vlad
    Vlad avatar
    11100 posts

    Posted 05 Jul 2010 Link to this post

    Hello Mike,

     Please check this blog post for more info.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Mark
    Mark avatar
    1 posts
    Member since:
    Aug 2012

    Posted 07 May 2015 in reply to Vlad Link to this post

    Link is dead?
  4. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 07 May 2015 Link to this post


    I would suggest you to check this forum thread instead. 


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top