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.
Unfortunately, activation email could not send to your email. Please try again.

Binding to two StaticBarItems

Thread ID:

Created:

Updated:

Platform:

Replies:

40730 Feb 10,2006 03:26 PM Feb 13,2006 12:13 AM Windows Forms 2
loading
Tags: Tools
Dave Taylor
Asked On February 10, 2006 03:26 PM

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 03:27 PM

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 12:13 AM

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.

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.

;