This is a migrated thread and some comments may be shown as answers.

Sort - Only initializers, entity members ...

3 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael Salzlechner
Top achievements
Rank 1
Michael Salzlechner asked on 02 Jul 2010, 04:22 PM
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 ?

thanks

Mike



3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Jul 2010, 07:21 AM
Hello Mike,

 Please check this blog post for more info.

All the best,
Vlad
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
0
Mark
Top achievements
Rank 1
answered on 07 May 2015, 01:09 PM
Link is dead?
0
Dimitrina
Telerik team
answered on 07 May 2015, 02:38 PM
Hello,

I would suggest you to check this forum thread instead. 

Regards,
Dimitrina
Telerik
 

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

 
Tags
GridView
Asked by
Michael Salzlechner
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or