Last time I tried to solve one of the deficiencies of data binding by taking advantage of expando attributes. Today I want to throw an idea out there that I?ve been playing with since that blog post.I was looking at WPF?s data binding and wondered what it would take to have data binding in ASP.NET be as first class as data binding in WPF. There is no imperative (unless you mimic the generated code) way to setup 2 way data binding in ASP.NET, but what if there was? Maybe we should be able to setup bindings in the markup as well as code. SetBinding This hypothetical re-design of ASP.NET data binding includes a SetBinding method on the base control class that allows users to specify bindings imperatively. public partial class _Default : System...(read more) ...
Go to the complete details ...