skip to Main Content

Html – How to add common properties across custom server controls that inherited different base classes

I need a Server Control (named FormLayout here) that renders child controls based on their attribute. The goal is to be able to write something like the following: <custom:FormLayout runat="server" ID="myForm"> <custom:MyDropDownList runat="server" ID="field1" ColumnSpan="12"></custom:MyDropDownList> <custom:MyTextBox runat="server" ID="field2"></custom:MyTextBox> </custom:FormLayout> This…

VIEW QUESTION
Back To Top
Search