How to get ObjectScope used by ObjectView

3 posts, 0 answers
  1. Michael Winter
    Michael Winter avatar
    7 posts
    Member since:
    Jun 2009

    Posted 10 Sep 2009 Link to this post

    Hello,

    how do I get the ObjectScope used by an ObjectView in my windows forms application?

    Thanks
    Michael
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 10 Sep 2009 Link to this post

    Hi Michael,

    You can use the following code:
    IObjectScope scope = (IObjectScope) objectView1.ObjectProvider.Context 
    Hope that helps.

    Greetings,
    Alexander
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Michael Winter
    Michael Winter avatar
    7 posts
    Member since:
    Jun 2009

    Posted 10 Sep 2009 Link to this post

    Thank you Alexander, this will help.

    Michael
Back to Top