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

RadPane's gridview data binding works once and then data disappears

2 Answers 70 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Krish
Top achievements
Rank 1
Krish asked on 11 Jan 2011, 04:22 AM

Prism2.2: Two modules and each module represent a pane, and these two RadPane at a panelGroup in a Region and both panes have a RadGridView with different ItemsSource data binding. It works once and then data disappears when you click on each pane 2nd time. It looks like ItemsSource binding from GridView and button's command binding of each pane are looking for the same property in other module's ViewModel. It looks like a bug to me.
1. System.Windows.Data Error: 40 : BindingExpression path error: 'Pane4Source' property not found on 'object' ''Pane2ViewModel' (HashCode=63892678)'. BindingExpression:Path=Pane4Source; DataItem='Pane2ViewModel' (HashCode=63892678); target element is 'RadGridView' (Name='RadGridViewPane4'); target property is 'ItemsSource' (type 'Object') .
2. System.Windows.Data Error: 40 : BindingExpression path error: 'Pane4ButtonCommand' property not found on 'object' ''Pane2ViewModel' (HashCode=63892678)'. BindingExpression:Path=DataContext.Pane4ButtonCommand; DataItem='RadGridView' (Name='RadGridViewPane4'); target element is 'RadButton' (Name=''); target property is 'Command' (type 'ICommand')

Herewith I have attached the sample project[Change the extension as zip]
Could I know what the workaround is if there is a known issue?

Thanks.

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 13 Jan 2011, 02:37 PM
Hi Krish,

 
I couldn't find the attached file. Could you please attach it again?

Kind regards,
George
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Krish
Top achievements
Rank 1
answered on 13 Jan 2011, 02:47 PM

I was not able to attach it.  Can you please take it from Ticket ID: 383143?

RadPane's gridview binding with ViewModel
Ticket ID:
383143

  • Status: Open
  • Response deadline: 72
  • Type: Support
  • Product: RadDocking for WPF
  • OS: Windows XP Professional
  • Preferred language: C Sharp

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=383143


Thanks.

Tags
Docking
Asked by
Krish
Top achievements
Rank 1
Answers by
George
Telerik team
Krish
Top achievements
Rank 1
Share this question
or