align items in formview

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

can I align the items in the formview so that all the labels have the
same width and all the textboxes are aligned one under the other?
( as if the formview was a table with two columns )

thanks,

-Steve
 
What are you using for now to present those data ? This is still up to you
to define the inner html you'll have in the form view...
 
What are you using for now to present those data ? This is still up to you
to define the inner html you'll have in the form view...

I see, I can manually code the form view items within a <table>.
thanks.

<ItemTemplate>

<table>
<tr>
<td>
DefinedTableId:
</td>
<td>
<asp:Label ID="DefinedTableIdLabel" runat="server"
Text='<%# Eval("DefinedTableId") %>'></asp:Label>
</td>
</tr>
<tr>
<td>
TableName:
</td>
<td>
<asp:Label ID="TableNameLabel" runat="server"
Text='<%# Bind("TableName") %>'></asp:Label>
</td>
</tr>
<tr>
<td>
DatabaseName:
</td>
<td>
<asp:Label ID="DatabaseNameLabel" runat="server"
Text='<%# Bind("DatabaseName") %>'></asp:Label>
</td>
</tr>
</table>
 
Back
Top