I already bin a xamgrid, but now I need to bin xamcomboeditor.
Hello marenas,
I have been looking into your post and I have created a sample application(ComboEditorBinding.zip) that demonstrates how to bind the XamComboEditor to data.
If you have any other questions, feel free to ask.
I already the combobox.
the problem is the is send null in the parateter.
<
I already try "Path=Text", Which is the property to use?
Now my other question how do I know the zip file is clean of virus?
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
I have been looking into your issue and I can suggest using the object’s property of the selected item in order to get its value from XamComboEditor. As you can see in the following link :
http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=xamComboEditor_Adding_xamComboEditor_to_Your_Page.html
the XamComboEditors shows the value of productName field of every Product object and if you would like to get the selected name you can use the following code :
<ig:XamComboEditor
Name="xamCombo"
ItemsSource="{Binding Source={StaticResource DataUtil}, Path=Products}"
DisplayMemberPath="ProductName"
EmptyText="Choose Product ..."
IsEditable="False"
Height="30" Width="250"
MaxDropDownHeight="150" DataContext="{Binding}" />
<TextBlock Height="23" HorizontalAlignment="Left" Margin="154,215,0,0" Name="textBlock1" VerticalAlignment="Top" Text="{Binding ElementName=xamCombo,Path=SelectedItem.ProductName}" Width="163" FontFamily="Comic Sans MS"/>
thak you. finally bin is working.
and now my question is how can I get the value the from xamcombobox.
here is What I already try.
riaControls:Parameter ParameterName="Whse" Value="{Binding ElementName=cmbWhse, Path=SelectedValuePath}" />
riaControls:Parameter ParameterName="Whse" Value="{Binding ElementName=cmbWhse, Path=Text}" />
and always received the value 'Null'
Can you teld my the right property, thank you.
I have been looking into your post and before unzipping the zip file you can scan it with your antivirus program. To get more detailed information about how to bind the XamComboEditor to data you can take a look in the following link :