Last post Nov 25, 2009 03:03 PM by dotnetster
Nov 24, 2009 09:19 AM|dotnetster|LINK
How do I expose databinding to one of the properties in a complex object? This complex object is in a separate class with a type converter inheriting an expandable object converter.
This is the error I get when drop the composite control inside a formview and declarative bind one of the complex object property.
Error Creating Control
Databinding expressions are only supported on objects that have a DataBinding event. Iml.Web.UI.WebControls.TextBoxSettings does not have a DataBinding event.
Nov 25, 2009 01:53 AM|Qin Dian Tang - MSFT|LINK
Here are some good articles about how to create a databinding custom control:
Nov 25, 2009 09:05 AM|dotnetster|LINK
Thanks Qin. Nice articles. This article helps as well -
Nov 25, 2009 03:03 PM|dotnetster|LINK
How do I make the determination if a composite contol is being data bound or is a stand alone control (ie. not inside a databoundcontrol such as a FormView) ?