GridView in TabControl: unable to assign items source

2 posts, 0 answers
  1. Syed Nadeem
    Syed Nadeem avatar
    19 posts
    Member since:
    Jul 2012

    Posted 22 Apr 2010 Link to this post


    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.

    Syed Nadeem.
  2. Vlad
    Vlad avatar
    11100 posts

    Posted 22 Apr 2010 Link to this post

    Hello Syed,

    No need to post same questions in different forums.

    All the best,
    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.
Back to Top