Is it possible to create a Custom Control which inherits from System.Web.UI.WebControls.Login and change its layout and add additional controls such as a DropDownList. I have tried various ways to do this by overriding the Render Contents methods but each time I have to recreate the controls which are already present in the main Login control. Is it possible to somehow get a reference to the controls in the parent class and then override the Render Contents method to render the controls how I need them?
I would like if at all possible to use the controls and functionality that already exist in the Login control but just change the layout and add in an additional DropDownList control.
Right way to do this would be to convert it to template and modify as you need. We don’t use inbuilt Login Control, we use plain textboxes and perform authentication using code.
Click on CONVERT TO TEMPLATE option on Login Control SmartTag to convert it into editable template.
(source: brainbell.com)