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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with binding

Thread ID:

Created:

Updated:

Platform:

Replies:

145442 Jun 21,2019 08:16 PM UTC Jun 26,2019 06:29 AM UTC WinForms 3
loading
Tags: SfDateTimeEdit
FGGamboa
Asked On June 21, 2019 08:16 PM UTC

the binding with this control not workin with the property value, how can i do it correctly? (i'm sorry for my english)



Jagadeesan Pichaimuthu [Syncfusion]
Replied On June 24, 2019 01:28 PM UTC

Hi Fco, 
 
Thanks for using Syncfusion product. 
 
We have checked the reported issue in our end and your requirement can be achieved by using the ValueChanged event of SfDateTimeEdit. Please find the code snippet from below. 
 
this.sfDateTimeEdit1.DataBindings.Add("Value", bindingSource1, "EndTime"true,DataSourceUpdateMode.OnPropertyChanged);     
           
sfDateTimeEdit1.ValueChanged += sfDateTimeEdit1_ValueChanged;  
  
  
void sfDateTimeEdit1_ValueChanged(object sender, Syncfusion.WinForms.Input.Events.DateTimeValueChangedEventArgs e)  
{  
    sfDateTimeEdit1.DataBindings["Value"].WriteValue();  
}  
 
 
Let us know whether this helps also if you need any further assistance on this. 
 
Regards, 
Jagadeesan 


FGGamboa
Replied On June 25, 2019 05:41 PM UTC

with the event works perfectly!, but not is an error in the dll?. 
Anyway, thanks for the help ;D

Jagadeesan Pichaimuthu [Syncfusion]
Replied On June 26, 2019 06:29 AM UTC

Hi Fco, 
 
Thanks for the update. 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Jagadeesan 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon