Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 21, 2006 01:29 AM by amn3sia
Mar 20, 2006 10:19 PM|LINK
I'm working on a control in which I want to add databindings based on the values set in other properties. I thought I could accomplish this using the IDataBindingsAccessor interface. However, when adding DataBindings through the controls IDataBindingsAccessor
implementation the bindings are not written out in the markup of the .aspx page which is the effect I want. I found I was able to do this using the control designer's obsolete OnBindingsCollectionChanged method. This method however uses the Tag property of
the control designer to add the binding. The actual control I'm working on contains a collection of the controls that need to be able to add bindings and it seems because it's a collection property of another control it can't access it's designer's Tag property.
Does anyone have any suggestions on how to do this?
Mar 21, 2006 01:29 AM|LINK