Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • xaml:

                                    <dxlc:LayoutItem Label="LiveProvince:">
                                              <dxe:ComboBoxEdit Name="LiveProvince" IsTextEditable="True"
                                                          EditValue ="{Binding Path=LiveProvince,Mode=TwoWay,UpdateSourceTrigger=Default}"
                                                                                  Validate="UserEdit_Validate" />
                                    </dxlc:LayoutItem>

                                    c#:
                                    LiveProvince.ItemsSource = commAreaViewModel.AreaRoot;
                                    LiveProvince.DisplayMember = "AreaName";
                                    LiveProvince.ValueMember = "AreaName";

                                    When I run the code,everything is ok.but ComboBoxEdit can't input any text by user.

                                    How can I make user can input any text when binding?

                                0

                                I only need the feature that the combox allow end-user input the values not the ItemsSource value list or a dropdown . Can I do that?

                                0

                                I found:

                                This case occur when the combox bound to ObservableCollection,but when the combox bound to string array ,everything is OK again.

                                0

                                Hello Thomax,

                                Thank you for the question. In fact, ObservableCollection should work fine too. If you need any further assistance, please provide a sample that illustrates the issue.

                                Thank you, Marina

                                0

                                Dear Marina,

                                Thank you for the reply. The attachment is the sample that illustrates the issue.Please check.

                                SilverlightApplication1.zip
                                0

                                Hello Thomax,

                                Thank you for the feedback. To resolve this issue, please set ValidateOnTextInput to False.

                                <dxe:ComboBoxEdit Height="26" ValidateOnTextInput="False" HorizontalAlignment="Left" Margin="16,131,0,0" Name="comboBoxEdit2" VerticalAlignment="Top" Width="163" />.

                                When you use ComboBoxEdit in LookUp mode (DisplayMember and ValueMember properties are assigned), the editor requires that your posted value was in the ItemsSource. If it is missed, the value is not posted.
                                The other solution is to set the AutoComplete property to True. In this case, the text typed by an end-user within the edit box is automatically completed, if it matches a value displayed within the dropdown:

                                <dxe:ComboBoxEdit Height="26" AutoComplete="True" HorizontalAlignment="Left" Margin="16,131,0,0" Name="comboBoxEdit2" VerticalAlignment="Top" Width="163" />

                                Thank you, Marina

                                0

                                Dear Marina,

                                Thank you for the reply. I set ValidateOnTextInput to False,the end-user can input the text,but when the text typed by an end-user did not matches a value displayed within the dropdown,The Combox cancel the text.

                                Is it possible to allow the text did not matches a value displayed within the dropdown? How can i do ?

                                I suggest you can provide the property like LimitToList =true/false ,so I can let end-user type any text.

                                0

                                Hello Thomax,

                                Thank you for the feedback. Our ComboBoxEdit allows you to process new values and handle the ProcessNewValue event. Please review the following sample: B199786. If a new item is added, it is necessary to add it to the items collection. You cannot show an item in ComboBoxEdit without adding. Let me know if you need any further assistance.

                                Thank you, Marina

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners