This question is locked. New answers and comments are not allowed.
I have the following column in my gridView:
The itemssource for the grid has an ID of the object I want to display in my AssetSelector (it's supposed to work sort of like a comboBox, but a bit more advanced), so what I want to do is to pass the ID value of the current row to my AssetSelector control and it'll display the right data automatically, but I don't seem to get it.
Also, is there a way to pass a list of objects to my control? (It's just a like an ItemsSource for this control)?
Thanks in advance for your help!
<telerik:GridViewDataColumn Header="Asset"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <local:AssetSelector selectedAssetID="{Binding AssetId}"></local:AssetSelector> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate></telerik:GridViewDataColumn>The itemssource for the grid has an ID of the object I want to display in my AssetSelector (it's supposed to work sort of like a comboBox, but a bit more advanced), so what I want to do is to pass the ID value of the current row to my AssetSelector control and it'll display the right data automatically, but I don't seem to get it.
Also, is there a way to pass a list of objects to my control? (It's just a like an ItemsSource for this control)?
Thanks in advance for your help!