Box Layout Manager for ASP.NET 2.0? Does it exist?
A few years ago, my uncle and I wrote a simple Box Layout control for ASP.NET 1.0 that allowed you to write code like this:
<UVc:LayoutMan id ="uvcBox" runat ="server" Alignment="HorizontalAlignment">
<asp:Panelid="Panel1"runat="server"BackColor="LightGreen"BorderWidth="1">Hi!</asp:Panel>
<asp:Panelid="Panel2"runat="server"BackColor="LightGreen"BorderWidth="1">Testing!</asp:Panel>
<asp:Calendar id ="Calendar1" runat ="server"></ asp:Calendar >
</UVc:LayoutMan >
This would then render each of the controls within a table. In this case, a three celled table with in of the controls in a TD tag within the same TR
If you set it to vertical alignment to vertical, then you'd have three TR tags.
This was inspired by Mozilla's XUL and Gtk's Box layout techniques.
I figured that something like this has to have been put into ASP.NET by now. Were we just missing it in the docs somewhere?
The code is here:
http://www.compumagic.com/AspXer/LayoutMan.htm
This is something pretty cool that he wrote too. I wonder how well it works. I have not tried it in years:
http://www.compumagic.com/AspXer/
AspXer is a utility used to convert simple HTML forms to Aspx form controls. Aspx is a file extension recognized by Microsoft's DOT NET framework.
AspXer is beta software written in c sharp for Microsoft ASP.NET. It takes a simple HTML file (from pasted text or file upload) which contains HTML form controls and converts them to Aspx format. ApsXer is especially useful if you have many form controls that need to be converted.
Sample: the following HTML:
<input type="text" id="field1">
Becomes this in Aspx:
<asp:TextBox id="field1" runat= "server"></asp:TextBox>