DataBound TreeView + DataBinding + DataGrid
-
Hi , I am a little bit confused. I have a tree view , currency manager and a datagrid Currency manager controls item details , TreeView is bounded by the following structure
ItemRootTypes -> ItemTypes->Items
DataGrid has the same source as CurrencyManager.
I could navigate through records by both side, syncronizing each other, selecting the correct node/CM_Pozition with the given itemID
(TreeView -> CurrencyManager & CurrencyManager -> TreeView)
I could find the appropriate record in the TreeView and select the node by SelectedNode property of TreeView.So far everything works fine.
But if the currency manager's index changed by DataGrid , TreeView could find the appropriate node , but cannot select the node.(highlight) (I check it by changing the node's text ) Btw , databinding still works , the only problem is TreeView cannot select the node. Anybody has dealed with the same issue ? Thanks in Advance Teknomultimedia -
Hi , I am a little bit confused. I have a tree view , currency manager and a datagrid Currency manager controls item details , TreeView is bounded by the following structure
ItemRootTypes -> ItemTypes->Items
DataGrid has the same source as CurrencyManager.
I could navigate through records by both side, syncronizing each other, selecting the correct node/CM_Pozition with the given itemID
(TreeView -> CurrencyManager & CurrencyManager -> TreeView)
I could find the appropriate record in the TreeView and select the node by SelectedNode property of TreeView.So far everything works fine.
But if the currency manager's index changed by DataGrid , TreeView could find the appropriate node , but cannot select the node.(highlight) (I check it by changing the node's text ) Btw , databinding still works , the only problem is TreeView cannot select the node. Anybody has dealed with the same issue ? Thanks in Advance TeknomultimediaAnybody ?