>Where is this code executing?
This code is executed in the framework DLL, which is a reference is in the ASP.NET DLL.
>You can use the technique to create HTML objects in the browser but NOT asp.net controls - they just end up in the browser as an unknown element.
So, as you said, this behavior is then normal.