error with object context in xaml

2 posts, 0 answers
  1. Rayne
    Rayne avatar
    241 posts
    Member since:
    Sep 2010

    Posted 05 Jan 2012 Link to this post

    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?
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 06 Jan 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top