Reference container or scope from Tracking

2 posts, 0 answers
  1. Jonathan Porter
    Jonathan Porter avatar
    1 posts
    Member since:
    Dec 2008

    Posted 09 Jun 2009 Link to this post

    In the tracking event, how can I get a reference to the container or scope that owns the tracking instance.  See below:

     

    private void Tracking_Removing(object sender, Telerik.OpenAccess.RemoveEventArgs e)

     

    {

    Telerik.OpenAccess.

    ITracking Tracking = (Telerik.OpenAccess.ITracking)sender;

     

    // GET REFERENCE TO CONTAINER THAT OWNS THIS TRACKING INSTANCE HERE
    }


  2. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 11 Jun 2009 Link to this post

    Hello Jonathan Porter,

    Currently there is not a public API that allows access to the owner ObjectContext instance of the ITracking member. We will consider it as a request and perhaps deliver it publicly in some of our next releases.

    Sincerely yours,
    Zoran
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top