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

MVVM, RowDetailsTemplate,

0 Answers 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sadaf
Top achievements
Rank 1
Sadaf asked on 14 Mar 2012, 10:46 PM
Hi,
I have spent lot of time on it but no joy.
I am using radgridview with MVVM but I can't find a way to populate data in the rowdetailstemplate which has a gridview/user control in it basically I am doing exactly what you here: http://demos.telerik.com/silverlight/#GridView/FirstLook 

This is the main part I am interested in :  

Example.xaml:
...... 
<telerik:RadTabItem Header="Orders">
                            <local:OrdersView />
                        </telerik:RadTabItem>
                        <telerik:RadTabItem Header="Performance Chart" HorizontalContentAlignment="Stretch" HorizontalAlignment="Left">
                            <local:PerformanceChart />
                        </telerik:RadTabItem>
                    </telerik:RadTabControl>
                </DataTemplate> ......

The bold part I am interested in. 
LIMITATION.. I CAN'T USE ViewModel IN TE XAML BECAUSE I DO NOT HAVE THE DEFAULT CONSTRUCTOR FOR VIEW MODEL. 
The biding from this example does not work for me. How can achieve this..? Thanks so much.


No answers yet. Maybe you can help?

Tags
GridView
Asked by
Sadaf
Top achievements
Rank 1
Share this question
or