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,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like am missing something about your scenario, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
Feel free to write me if you have further questions.
Yes, this is still an issue although I found a workaround. I'll try to come up with a simple sample project for you to look at.
I am just checking if you have managed to prepare a sample project, so I can investigate it further for you.
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 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.