We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

AutoComplete SelectedValue

Hi,
The code given below does not show the selected value when a form is opened.
Please let me know if there is some issue in my implementation.
<syncfusion:AutoComplete IsFilter="True" Source="Custom" 
                                         SelectedValue="{Binding Path=ThresholdDetails.MpdId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnValidationError=True, ValidatesOnDataErrors=True}"
                                         CanResizePopup="False" IsAutoAppend="True"
                                         CustomSource="{StaticResource mylist}" DisplayMemberPath="MpdDestination" SelectedValuePath="MpdId"/>

1 Reply

AX Antony Xavier D Syncfusion Team January 19, 2013 07:12 AM UTC

Hi Cem,

 

We are unable to reproduce the issue with selected value properties. The autocomplete will displays the item based on the selected item and selected index. Also the SelectedValue will gives the corresponding value of selected item.

 

We have attached the sample in that we have used the both selected value and selected item together and in the button click event we are displaying the selected value.

 

Please find below the attached sample.

 

Please let us know if you have any queries,

 

Regards,

Antony.



AutoCompleteTest_aad918e8.zip

Loader.
Live Chat Icon For mobile
Up arrow icon