New Posts New Posts RSS Feed: [Resolved]Tracking SelectedItem changed in ThreePanelView
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

[Resolved]Tracking SelectedItem changed in ThreePanelView

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: [Resolved]Tracking SelectedItem changed in ThreePanelView
    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?


Edited by orcities - 03-Oct-2007 at 10:35am
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down