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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Binding to two StaticBarItems

Thread ID:

Created:

Updated:

Platform:

Replies:

40730 Feb 10,2006 08:26 PM UTC Feb 13,2006 05:13 AM UTC WinForms 2
loading
Tags: Tools
Dave Taylor
Asked On February 10, 2006 08:26 PM UTC

I''m trying to bind text from an object to two separate StaticBarItems'' text property. However, it gives me the error "This would cuase two bindings in the collection to bind to the same property". The code is shown below, since there are separate objects, why is it giving this, thanks sbiConStatus.DataBindings.Add(New Binding("Text", _samp, "ConcentrateStatus")) sbiMatStatus.DataBindings.Add(New Binding("Text", _samp, "MatteStatus"))

Dave Taylor
Replied On February 10, 2006 08:27 PM UTC

An even bigger problem, the text actually binds to the form''s caption...NOT to the static bar items as expected??

Mano J [Syncfusion]
Replied On February 13, 2006 05:13 AM UTC

Hi David, I have attached a sample that shows how to bind data to staticBarItems. Please refer to it and let me know if you have any problems. Thanks for using Syncfusion products. Regards, Mano DataBinding_sample.zip

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.

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

;