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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AutoComplete SelectedValue

Thread ID:

Created:

Updated:

Platform:

Replies:

106274 Dec 21,2012 10:32 AM UTC Jan 19,2013 07:12 AM UTC WPF 1
loading
Tags: Tools
Cem Ertal
Asked On December 21, 2012 10:32 AM UTC

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"/>

Antony Xavier D [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;