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
434
Databinding problem with UltraTextEditor
posted

 

 Hi,

Is there a reason why the following works for a System.Windows.Forms.TextBox but not for an UltraTextEditor?

 Me.RateTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.bsController, "TotalCost.Rate", True))

bsController is a standard windows BindingSource. Note the nested property reference TotalCost.Rate - this is what causes problems for the ultratexteditor. TotalCost is a property of the entity to which bsController is bound. It contains a numeric property Rate, which is what we're trying to bind to.

Is there a way to get the same behaviour with the ultratexteditor?


Kev

 

Parents
  • 434
    posted

    The error I get is "Datamember TotalCost cannot be found on the Datasource", and occurs in the forms InitializeComponent

Reply Children