Emmanuel wrote:
So you can for example <%# Bind...%> stuff to the USER control's properties but not to the textboxes IN that user control FROM the page
But I DO bind controls WITHIN the user control to the containing page's datasource. I have a user control which contains some text boxes and some RadEditor controls (from Telerik) and I populate them with <%# Bind("fieldname") %> calls. The user control markup in the formview template has NO bind code. It's as if the Bind call is smart enough to recursively search through parent containers until it finds a dataitem to bind to during the SELECT. In this case, its as if the Bind call looks to the parent container (the user control) and finds no datasource and so goes to the 'grandparent' (the formview's item template) and finds the datasource there for me.
What you describe is what doesn't work. A control is a separate object on the page, it's not a HTML snippet. The datasource is bound to the formview, the html inside the formview refers to the current row the formview refers to.
In ANY case: it's an ASP.NET issue, not an llblgen pro issue. The datasource control is bound to the formview, not to any textboxes. The formview HTML refers to fields in the current row of the datasource as pointed to by the formview, which you do with the Bind directive. I can't imagine how what you want to do and what you described above would work, as it would kill the complete control==separate object approach of ASP.NET 2.0.
The binding of the datasource is between datasourcecontrol and formview object. Your problem is with formview <-> asp.net control, not with a datasource control related matter. I'm sorry, but I can't help you, as it's an ASP.NET control-usage issue, not something related to a datasourcecontrol (I would be VERY surprised if objectdatasource does work in this scenario for example).