This question is locked. New answers and comments are not allowed.
I have a Gridview inside a secondary RadTabItem which bound to a datasource. When selecting the tab the first row in the bound Gridview gets selected. How do I prevent this? The gridview doesn't behave this way when placed outside the Radtab control.
Update:
For now I've created a work around where I use the grid's loaded event and a flag to determine if the app is allowed to set the grid's two-way bound SelectedItem property. When the loaded event has fired the bool flag is set to allow setting the value and also the SelectedItem viewmodel bound property value is explicitly set to null.
Update:
For now I've created a work around where I use the grid's loaded event and a flag to determine if the app is allowed to set the grid's two-way bound SelectedItem property. When the loaded event has fired the bool flag is set to allow setting the value and also the SelectedItem viewmodel bound property value is explicitly set to null.