I have TabControl called mainTabs with a TabItem called CurrentTasks. In the CurrentTasks TabItem I show a GridView (say RadGridView1) with a list of tasks which works fine. This GridView is populated in code behind with an ObservableCollection.
As per the logic, each task in the RadGridView1 has some dependent tasks called Predecessors Tasks(tasks that were completed before the selected task was assigned) and Successor Tasks(tasks assigned to other users which are depending on the current task to be completed by the current user).
Now, I want to make the rows of this RadGridView1 expandable so that I can show the details of selected Task in two tabs as Predecessor Tab and Successor Tab. Each of these tabs would have a GridView(say InnerRadGridView1 and InnerRadGridView2) showing a list of tasks respectively.
I am trying to assign the ItemsSource Property for InnerRadGridView1 programatically to an ObservableCollection in the code behind. The problem is that it does not show any intellisence for me to access the InnerRadGridView1 (for eg. I want to assign it as InnerRadGridView1 .ItemsSource = Tasks; where Tasks is my ObservableCollection).
Please provide me a solution to this issue. Im really stuck.
I am also attaching a screenshot of what exactly the navigation flow of my application is.