ComboBoxAdv Property Binding

Hello
I'm using Syncfusion WPF ComboBoxAdv setting IsEditable to True (using like a textbox with suggestions).
My problem is binding its Text Property does not seem to work.
I also tried with Syncfusion SfTextBoxExt and plain WPF ComboBox. Both worked
Is this not supported? Are there any alternatives?
Thank you.

XAML:
    <syncfusion:ComboBoxAdv IsEditable="True" Text="{Binding PropertyName}" Width="150" /> <!-- not work -->
    <syncfusion:SfTextBoxExt Text="{Binding PropertyName}" Width="150"/>                   <!-- work -->
    <ComboBox IsEditable="True" Text="{Binding PropertyName}" Width="150" />               <!-- work -->


14 Replies 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team August 24, 2020 11:01 AM UTC

Hi Jun 
 
Thank you for contacting Syncfusion support. 
 
We have checked the reported behavior regarding "Binding with ComboBoxAdv's Text property does not work properly". However we would able to observe the bounding the Text property is not worked for ComboBoxAdv and also for other two component such as SfTextBoxExt and Ms ComboBox . Please find the sample. 
 
 
So please check our sample and confirm us our replication is same. Upon your confirmation, we could able to proceed on this further. 
 
Regards, 
Vijayalakshmi VR 



JU Jun August 25, 2020 04:26 AM UTC

Thank you for your reply and reproduction.
It's not exactly the same I intended. I'm sorry for that.
I attached the whole solution files. Please check it.
Thank you!


Edit:
Essential Studio Version 18.2460.0.44


VR Vijayalakshmi Roopkumar Syncfusion Team August 26, 2020 05:40 AM UTC

Hi Jun 
 
Thank you for your update. 
 
We have checked the reported behavior that values are not bounded correctly at runtime and on property changed in ComboBoxAdv. In order to update the values on Propertychanged , you need to set the Mode as TwoWay. Please find the code for the same below: 
 
Code:[XAML] 
 
   
<syncfusion:ComboBoxAdv IsEditable="True"  Height="23" Text="{Binding Name,Mode=TwoWay}"  Margin="0,0,0,5" Width="150" /> 
 
 
 
 
Please try this solution and let us know if it is helpful. 
 
Regards, 
Vijayalakshmi VR 


Marked as answer

JU Jun August 26, 2020 07:31 AM UTC

Thank you for you reply and the sample.
I tried your sample and I confirmed it worked. Thank you.
But I found one more problem that hitting Enter key on the ComboBoxAdv stop refreshing the change of the Text property.
That behavior was not seen on the SfTextBoxExt and Ms ComboBox.
Is this expected behavior? Is there a way to fix it?

Edit:
Sorry for my bad English.
I meant when I hit the  Enter Key on the ComboBoxAdv it stopped refreshing the change of the Text property.


VR Vijayalakshmi Roopkumar Syncfusion Team August 27, 2020 06:56 AM UTC

Hi Jun 
 
Thank you for your update 
 
We have checked the reported behavior “Dynamic values get stopped updating on pressing enter key ” with ComboBoxAdv and we were able to reproduce it. We have forwarded this to development team to analyze the exact cause of this behavior and provide you the details by 31st, Aug 2020. 
 
Regards, 
Vijayalakshmi VR 



VR Vijayalakshmi Roopkumar Syncfusion Team August 31, 2020 11:19 AM UTC

Hi Jun 
Thank you for the patience, 
We have checked the reported behavior " Dynamic values are not updated on entering the ComboBoxAdv control" with ComboBoxAdv and confirmed it is a defect. We have logged a defect report on this and the patch for this fix is estimated to be available on 14th September 2020. You can track the status of this defect using the following feedback link 
Please let us know if you have any other concerns. 
Regards, 
Vijayalakshmi VR. 



VR Vijayalakshmi Roopkumar Syncfusion Team September 14, 2020 08:49 AM UTC

Hi Jun,    
   
Thanks for your patience.  
  
The reported issue has been fixed with ComboBoxAdv and included in the patch which can be download from the below links.  
   
Recommended approach - exe will perform automatic configuration.   
   
Please find the patch setup from below location:   
   
 
Please find the patch assemblies alone from below location:   
   
 
 
 
  
 
Assembly Version: 18.2.0.44 
   
Installation Directions:   
This patch should replace the files "Syncfusion.Shared.WPF” under the following folder.   
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]   
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.2.0.44\precompiledassemblies\18.2.0.44\\4.6   
   
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.   
   
   
Disclaimer:   
Please note that we have created this patch for version 18.2.0.44 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.   
 
   
Regards,   
Vijayalakshmi VR 
 



JU Jun September 16, 2020 10:43 AM UTC

Hello,

Thank you for fixing the problem and creating patch.
I applied that patch and checked behavior.
As a result, I confirmed it kept reflecting the value of its Text property correctly even after I pressed enter.
Thank you very much.

But I found another problem.
After I selected an item from dropdown menu, it stopped updating the value of its text property.
This behavior was not seen on MS ComboBox.

I attached project files. Would you check this?

Thank you.


Attachment: ComboBoxAdvBindingProblem_ProblemAfterDropdownSelected_afe9b23e.zip


VR Vijayalakshmi Roopkumar Syncfusion Team September 17, 2020 01:57 PM UTC

Hi Jun, 
 
Thank you for your update. 
 
We are currently validating the reported behavior with ComboBoxAdv and provide you the complete validation details  by 21st Sep, 2020. 
 
Regards, 
Vijayalakshmi VR 



VR Vijayalakshmi Roopkumar Syncfusion Team September 21, 2020 09:46 AM UTC

 Hi Jun,     
    
Thanks for your patience.   
   
We have consider the reported behavior with ComboBoxAdv and included in the patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
    
  
  
Please find the patch assemblies alone from below location:    
    
  
  
  
  
 
   
  
Assembly Version: 18.2.0.44  
    
Installation Directions:    
This patch should replace the files "Syncfusion.Shared.WPF” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.2.0.44\precompiledassemblies\18.2.0.44\\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 18.2.0.44 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.    
  
Please try this and let me know if it is resolves at your end. 
    
Regards,    
Vijayalakshmi VR  



JU Jun September 24, 2020 08:02 PM UTC

Hi,

Thank you for your reply and patch.

I applied the patch and checked its behavior.
The problem about selecting dropdown menu had been fixed. Thank you.

But it seems to have probrems yet.

One problem is that the text set to its text property in xaml was not displayed at run time. The ComboBoxAdv showed empty string on its textbox.(with IsEditable = true)
Another problem is that when I edited the text on it (editable ComboBoxAdv) but its text property value didn't reflect the text edited.

I attached my project and screenshot. Would you check this?
I'm sorry if it does not make sense. Please don't hesitate to ask.

Thank you.
Attachment: ComboBoxAdvEditProblem_e8e83b16.zip


VR Vijayalakshmi Roopkumar Syncfusion Team September 25, 2020 11:30 AM UTC

Hi Jun

Thank you for your update.

We have checked the reported “Editable behavior with ComboBoxAdv” and we were able to reproduce this. However, we are currently checking the various use cases and functionalities of ComboBoxAdv on dynamically modifying the values. We will validate all the use cases and provide you the complete validation details by 29th Sep, 2020.

Kindly let us know if you have any other concerns.

Regards,
Vijayalakshmi VR



VR Vijayalakshmi Roopkumar Syncfusion Team September 29, 2020 10:52 AM UTC

Hi Jun

Thank you for your patience.

We have fixed the reported case "Editable behavior" with ComboBox, however we are currently testing the all use cases of this scenario. We will ensure completely and provide you the patch details by 1st Oct , 2020.

Regards,
Vijayalakshmi VR


VR Vijayalakshmi Roopkumar Syncfusion Team October 1, 2020 11:49 AM UTC

Hi Jun,     
    
Thanks for your patience.   
   
The reported issue “Editable behavior with ComboBoxAdv” has been fixed with ComboBoxAdv and included in the patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
    
  
Please find the patch assemblies alone from below location:    
    
  
  
  
   
  
Assembly Version: 18.2.0.44  
    
Installation Directions:    
This patch should replace the files "Syncfusion.Shared.WPF” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.2.0.44\precompiledassemblies\18.2.0.44\\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 18.2.0.44 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.    
  
    
Regards,    
Vijayalakshmi VR  
  
 
 


Loader.
Up arrow icon