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

How to get ObjectScope used by ObjectView

2 Answers 53 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael Winter
Top achievements
Rank 1
Michael Winter asked on 10 Sep 2009, 08:56 AM
Hello,

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

Thanks
Michael

2 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 10 Sep 2009, 11:15 AM
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.
0
Michael Winter
Top achievements
Rank 1
answered on 10 Sep 2009, 12:41 PM
Thank you Alexander, this will help.

Michael
Tags
Development (API, general questions)
Asked by
Michael Winter
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Michael Winter
Top achievements
Rank 1
Share this question
or