Hi,
I have the following concept in my mind: I want to create base functionality for UserControls so that I can extend the base clase and quickly create user controls which display data of a single TypedViewRow (DetailViews are really boring in terms of design possibilities). So the UserControl should be a generic class configured by a given TypedView. It will take care about data binding, etc.
At the end I just have to extend the base class and provide it the values for requested parameters (e.g. Person.Id = 123) and an .aspx front end that will be able to align place holders in an arbitrary fashion (design-wise, not a "boring" GridViewRow/Detailsview). The base class, will fetch the data so that the values of the given properties can be assigned when the UserControl is generated/rendered.
I hope, I confused everybody enough
and somebody can tell me how to start implementing this. I looked into the help, but I can't find anything that would target the topic better than "Generated code - Databinding with ASP.NET 2.0, Adapter". Is there anything that would be of better help?
Thanks.