This may have been answered already but I can't seem to track anything down on it. I have a XamGrid that contains a ComboBoxColumn. I'd like to bind the ComboBoxColumn to a DomainDataSource. I've added the DomainDataSource as a resource but I can't seem to get the binding to work correctly. Here's some of my XAML that hopefully shows what I'm trying to accomplish:
<Grid x:Name ="LayoutRoot">
<Grid.Resources >
<riaControls:DomainDataSource AutoLoad="True" x:Key="dsDiv" x:Name="dsDiv" QueryName
="GetNewDeptDivisionsSelect">
<riaControls:DomainDataSource.DomainContext >
<my:NewDomainContext />
</riaControls:DomainDataSource.DomainContext >
<riaControls:DomainDataSource.QueryParameters >
<riaControls:Parameter ParameterName="DepartmentID" Value ="0" />
</riaControls:DomainDataSource.QueryParameters >
</riaControls:DomainDataSource >
<riaControls:DomainDataSource AutoLoad="True" x:Key="dsSect" x:Name="dsSect" QueryName ="GetNewDeptSectionsSelect">
<riaControls:Parameter ParameterName="DepartmentID" Value="0" />
</riaControls:DomainDataSource.QueryParameters>
</riaControls:DomainDataSource>
</Grid.Resources>
...and in my grid:
<ig:XamGrid x:Name="ItemGrid" DeleteKeyAction="DeleteSelectedRows" AutoGenerateColumns="False" ItemsSource="{Binding Data, ElementName=dsItem}" Width="900" Height="430">
Hello,
I have been looking into the sample you sent me, but since there wasn’t a backup of your database I wasn’t able to run it and investigate your issue. Despite this I created a sample project for you where I used RIA services and I implemented the functionality you want.
Hope it helps you.
Okay. Here ya go.
I can suggest you delete the obj and bin folders from both ServerSide and ClientSide projects and if the .zip is still more than 200kb you can attach it as media file, where the limit is much more. You can find the "Insert Media" button in the ToolBar that appears, when you write your response.
Looking forward for your reply.
Sorry for the delated response; been really busy. I attempted to attach a simplified sample solution, but It's still well over the upload limit of 200Kb.
I am just checking if you have managed to prepare a sample project, so I can investigate it further for you.