Hi,
I have a weird issue. If I bind to the enabled property of a groupbox, some of the controls don’t display at design time (see the attached bad.jpg vs good.jpg), they do however display correctly at runtime.
I have worked around this for now by moving the following 2 lines from InitializeComponent() to Form_Load():
this.groupBox1.DataBindings.Add(new Wisej.Web.Binding(“Enabled”, this.bsEnrolment, “CanApportionFees”, true));
this.groupBox3.DataBindings.Add(new Wisej.Web.Binding(“Enabled”, this.bsEnrolment, “CanMatchXero”, true));
Cheers,
Neil.
Hi Neil,
WJ-8991 is fixed in the latest Wisej dev build (1.4.99).
Best regards
Frank
Thank you. It’s a weird issue, it happens only when there are other controls. Logged as WJ-8991, it’s fixed in the upcoming build.
Hi Luca,
Here’s the form in question … I reimplemented the “buggy” behavior and zipped … you should be able to drop this into a new app – you will need to mock the bound object, I have added the class used as a guide.
I hope this helps.
Cheers,
Neil
Can’t reproduce. Can you reproduce in a separate small app? I dropped a groupbox, added some controls, add a binding source:
this.groupBox1.DataBindings.Add(new Wisej.Web.Binding(“Enabled”, this.dataBindingSource, “CanSave”, true));
Closed, reopened. Always works.
Please login first to submit.