This is a migrated thread and some comments may be shown as answers.

GridView in TabControl: unable to assign items source

1 Answer 69 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Syed Nadeem
Top achievements
Rank 1
Syed Nadeem asked on 22 Apr 2010, 07:48 AM
Hi,

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.

Cheers,
Syed Nadeem.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Apr 2010, 07:55 AM
Hello Syed,

No need to post same questions in different forums.

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TabControl
Asked by
Syed Nadeem
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or