This part translates System.Web.UI.WebControl methods and properties to DOM methods. For example, it will translate the Text property on a Label to the innerHTML property on a DOM element. It's done by intercepting all method calls
(properties are compiled to get* and set* methods) and possibly modifying them.
Determining when to intercept and modify functions is very tricky and I haven't come up with a good way yet. The project will probably need to force the user to explicitly decide, but simplicity and ease of use is crucial to this project's success.