I've made some tests, the Login control uses an internal LoginContainer as container for the login form. Been an internal / private class, we have no access to override the rendering TagKey of this container. So whatever you'll try, the login form will always
be wrapped by the html tags generated by this LoginContainer. Unfortunatelly the login container rendering tag is a Table.
I bring back the subject of CSS Friendly adapters. You can download the source code from here:
Check the LoginAdapter class, RenderContents method, to see how do they render the login control as div. Basically they rewrite the html tags for the entire controls collection.
Ok, thanks for the info.
What I still don't get is how someone has managed to do this is c# here:
Member
23 Points
60 Posts
Re: Custom login control
Oct 30, 2009 09:39 AM|m_b|LINK
Ok, thanks for the info.
What I still don't get is how someone has managed to do this is c# here:
http://www.sidesofmarch.com/index.php/archive/2006/02/28/removing-tables-in-microsofts-aspnet-20-controls/