I have a hierarchical grid which has two layers of hierarchy, one of which contains a Nested Table View (i.e. one primary grid, followed by a child grid, which in turn has a child Nested Table View:
+ Primary grid
|
+ Child hierarchy
|
+ Child hierarchy in the form of a Nested Table View
Hope that makes it clear :)
The problem I have is that I have a cascading combo where one loads data following a user selection in the other. Because of potential errors where there's invalid data coming into the rebound combo, I'm having to rebind it in the codebehind. To do this, I'm trying to set up the rebind within the selected combo's SelectionChanged event.
Unfortunately as both combos are in the Nested Table View, I'm having problems working out how to access the combo I want to rebind since neither the 'sender' or EventArgs objects seem to contain enough information to allow me to easily find a path back to the editform. So what's the easiest method of finding a control within an editform in a Nested Table View that's in a hierarchical grid?
+ Primary grid
|
+ Child hierarchy
|
+ Child hierarchy in the form of a Nested Table View
Hope that makes it clear :)
The problem I have is that I have a cascading combo where one loads data following a user selection in the other. Because of potential errors where there's invalid data coming into the rebound combo, I'm having to rebind it in the codebehind. To do this, I'm trying to set up the rebind within the selected combo's SelectionChanged event.
Unfortunately as both combos are in the Nested Table View, I'm having problems working out how to access the combo I want to rebind since neither the 'sender' or EventArgs objects seem to contain enough information to allow me to easily find a path back to the editform. So what's the easiest method of finding a control within an editform in a Nested Table View that's in a hierarchical grid?