Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 04, 2012 07:44 AM by pizzamaker74
Member
429 Points
367 Posts
May 30, 2012 11:41 PM|LINK
I have a DetailsView which is quite tall;
I would like to make it span two columns but remain as a single DetailsView.
Is this possible? If not what is the preferred solution(s)?
p.
Contributor
6409 Points
1184 Posts
May 31, 2012 01:47 PM|LINK
Use a FormView with several columns in its ItemTemplate:
<asp:FormView ID="fv" runat="server"> <ItemTemplate> <table> <tr> <td>Column1</td> <td>Column2</td> </tr> <tr> <td><asp:Label ID="lblName" runat="server" Text='<%# Bind("Column") %>' /></td> <td></td> </tr> </table> </ItemTemplate> <asp:FormView>
Jun 04, 2012 07:44 AM|LINK
Sure; I take it thats the only way. Cool thanks.
pizzamaker74
Member
429 Points
367 Posts
detailsview as two distinct columnns
May 30, 2012 11:41 PM|LINK
I have a DetailsView which is quite tall;
I would like to make it span two columns but remain as a single DetailsView.
Is this possible? If not what is the preferred solution(s)?
p.
mm10
Contributor
6409 Points
1184 Posts
Re: detailsview as two distinct columnns
May 31, 2012 01:47 PM|LINK
Use a FormView with several columns in its ItemTemplate:
<asp:FormView ID="fv" runat="server"> <ItemTemplate> <table> <tr> <td>Column1</td> <td>Column2</td> </tr> <tr> <td><asp:Label ID="lblName" runat="server" Text='<%# Bind("Column") %>' /></td> <td></td> </tr> </table> </ItemTemplate> <asp:FormView>pizzamaker74
Member
429 Points
367 Posts
Re: detailsview as two distinct columnns
Jun 04, 2012 07:44 AM|LINK
Sure; I take it thats the only way. Cool thanks.