Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
DateTimeEditor Binding Problem when bind timespan value
posted

Hi,

  I am trying to bind UltraDateTimeEditor with timespan value at that time i can't bind this value. Even Default value is also not set to this control.

I am using code for binding :

*****************************************************************************

 

 

 

 

With dtpDefault

.Name =

"dtpDefaultDate"

.DisplayStyle = EmbeddableElementDisplayStyle.Office2007

.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Never

.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always

.MaskInput =

"{time}"

.DataBindings.Add(

"Value", datDocs.Tables("docs"), "timeValue", True)

End With

 

At that time not getting error but value is also not binded.

Any solution regarding this issue??