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

error with object context in xaml

1 Answer 65 Views
EntityFrameworkDataSource
This is a migrated thread and some comments may be shown as answers.
Rayne
Top achievements
Rank 1
Rayne asked on 05 Jan 2012, 11:31 PM
When trying to recreate the demo using my own data model, I'm getting an error when I try to use the ObjectContext in xaml.

How do you get around the issue of the visual studio designer trying to instantiate an object context at design time?

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 06 Jan 2012, 11:03 AM
Hello,

My guess would be that if you want to design your window with the VS Designer, you can temporarily comment out the ObjectContext or the entire REFDS control. Unfortunately, we can't do anything about VS trying to instantiate this ObjectContext. Then after you are ready to run the project, you can uncomment it.

Greetings,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
EntityFrameworkDataSource
Asked by
Rayne
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or