Print Page | Close Window

[Resolved]Tracking SelectedItem changed in ThreePanelView

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=466
Printed Date: 11-Jun-2026 at 6:01pm


Topic: [Resolved]Tracking SelectedItem changed in ThreePanelView
Posted By: orcities
Subject: [Resolved]Tracking SelectedItem changed in ThreePanelView
Date Posted: 03-Oct-2007 at 10:13am
Bill,
 
In the three panel view. I would like to change the results in the grid when I change an item in a combobox.
 
I assume all I have to do is call refresh on the tab control. But how do I access it from one of my controls that are in the view.
 
But then again if I refresh the tab I will lose my currently selected item.I thought by passing the EntityBinding source and changing the current automatically. But I was wrong.
 
I really want to call the Tabs RefreshEntities for the UserRoles.
 
How do I access it?



Replies:
Posted By: orcities
Date Posted: 03-Oct-2007 at 10:34am
I figured it out.
 
I created the BindingSources for the source and the child at the ThreePanelViewTabController level. Then in the UserRoleTabController I created an event handler for the change of position in the source.
 
In the event handler I had access to the refreshentities method.
 
Works like a charm.



Print Page | Close Window