473,326 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

align items in formview

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

May 2 '07 #1
2 3275
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...

"Steve Richter" <St************@gmail.coma écrit dans le message de news:
11**********************@q75g2000hsh.googlegroups. com...
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

May 2 '07 #2
On May 2, 4:26 am, "Patrice" <http://www.chez.com/scribe/wrote:
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>


>
"Steve Richter" <StephenRich...@gmail.coma écrit dans le message de news:
1178077890.963201.224...@q75g2000hsh.googlegroups. com...
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- Hide quoted text -

- Show quoted text -

May 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave | last post by:
Hello all, I need to know if you can vertically align Items within an ItemTemplate. For example I have two columns, one column has a stack of 6 textboxes, my second column can have 1 to n...
3
by: sck10 | last post by:
Hello, I am trying to bind an arraylist to a FormView DropDownList control in the PreRender state. The error that I get is the following: Databinding methods such as Eval(), XPath(), and...
0
by: Jai | last post by:
Hi, Somebody please tell me how to bind(two way) a checkboxlist with objectdatasource if the checkboxlist is inside a formview..... Code of FormView is like this::--- <asp:FormView...
0
by: Jai | last post by:
Hi, Somebody please tell me how to bind(two way) a checkboxlist with objectdatasource if the checkboxlist is inside a formview..... Code of FormView is like this::--- <asp:FormView...
0
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this...
1
by: Pao | last post by:
I have a formview bounded to an objectdatasource. All ok but I have some trouble with a checkbox: when I am in update mode and I update the record, this field is never updated (no errors thrown)....
1
by: Trev | last post by:
Hi, I'm hoping that someone in this group can shed some light on an issue I'm having with a Formview. I have a Web User Control (.ascx) with a Formview. The Formview contains 2 Multiviews,...
3
by: =?Utf-8?B?SnVsaWEgQg==?= | last post by:
Hi, I'm working with .net version 1.1. I've got a datagrid on a webform that my users want a fixed height, which is fine. It can contain up to 10 records. If there are 10 records then it's fine...
0
by: John Mason | last post by:
Hi, I've been trying for most of the day to get a FormView control to work. I would like to display a single record, based on a unique user id (loginid), which I am retreiving from a cookie. No...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.