473,320 Members | 1,900 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,320 software developers and data experts.

2:0: improper layout of controls in a table cell

RAM
Hi,
Please help in the following problem:
I am writing ASP.NET application containing page on which I include (IN A
TABLE CELL) a set of asp:TextBoxs in a <tableand asp:DataList control. I
don't understand why asp:DataList is displayed on the r i g t h of the
<tablewith asp:TextBoxs, instead of b e l o w. There's only a <br/>
between <tableand asp:DataList.
Here's is my source (indentifiers in Polish language):

MIMMagazyn.master:

<body>
<form id="Formularz" runat="server">
<table>
<tr align="left" valign="top">
...
<td>
<asp:ContentPlaceHolder ID="ContentPlaceHolder"
runat="server" />
</td>
</tr>
</table>
</form>
</body>

Materiały.aspx:

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder"
Runat="Server">
<MIM:ListaMateriałów ID="Lista" runat="server" />
</asp:Content>

ListaMateriałów.ascx:

<table align="left">
....
<tr>
<td>Klasa:</td>
<td><asp:TextBox ID="Klasa" runat="server" /></td>
</tr>
</table>
<br / <!-- HERE PROBLEM -->
<asp:DataList ID="MateriałyDataList" runat="server">
...

Please help.
THANK YOU!!!
/RAM/
Oct 10 '06 #1
2 1138
Try removing align="left" from your <tabletag, or use <br
clear="left" /instead of <br />

RAM wrote:
Hi,
Please help in the following problem:
I am writing ASP.NET application containing page on which I include (IN A
TABLE CELL) a set of asp:TextBoxs in a <tableand asp:DataList control. I
don't understand why asp:DataList is displayed on the r i g t h of the
<tablewith asp:TextBoxs, instead of b e l o w. There's only a <br/>
between <tableand asp:DataList.
Here's is my source (indentifiers in Polish language):

MIMMagazyn.master:

<body>
<form id="Formularz" runat="server">
<table>
<tr align="left" valign="top">
...
<td>
<asp:ContentPlaceHolder ID="ContentPlaceHolder"
runat="server" />
</td>
</tr>
</table>
</form>
</body>

Materiały.aspx:

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder"
Runat="Server">
<MIM:ListaMateriałów ID="Lista" runat="server" />
</asp:Content>

ListaMateriałów.ascx:

<table align="left">
...
<tr>
<td>Klasa:</td>
<td><asp:TextBox ID="Klasa" runat="server" /></td>
</tr>
</table>
<br / <!-- HERE PROBLEM -->
<asp:DataList ID="MateriałyDataList" runat="server">
...

Please help.
THANK YOU!!!
/RAM/
Oct 10 '06 #2
tak myslalem ze jestes z Polski :-)
--
Milosz Skalecki
MCP, MCAD
"RAM" wrote:
Hi,
Please help in the following problem:
I am writing ASP.NET application containing page on which I include (IN A
TABLE CELL) a set of asp:TextBoxs in a <tableand asp:DataList control. I
don't understand why asp:DataList is displayed on the r i g t h of the
<tablewith asp:TextBoxs, instead of b e l o w. There's only a <br/>
between <tableand asp:DataList.
Here's is my source (indentifiers in Polish language):

MIMMagazyn.master:

<body>
<form id="Formularz" runat="server">
<table>
<tr align="left" valign="top">
...
<td>
<asp:ContentPlaceHolder ID="ContentPlaceHolder"
runat="server" />
</td>
</tr>
</table>
</form>
</body>

MateriaÂły.aspx:

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder"
Runat="Server">
<MIM:ListaMateria³ów ID="Lista" runat="server" />
</asp:Content>

ListaMateria³ów.ascx:

<table align="left">
....
<tr>
<td>Klasa:</td>
<td><asp:TextBox ID="Klasa" runat="server" /></td>
</tr>
</table>
<br / <!-- HERE PROBLEM -->
<asp:DataList ID="MateriaÂłyDataList" runat="server">
...

Please help.
THANK YOU!!!
/RAM/
Oct 10 '06 #3

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

Similar topics

4
by: Spartanicus | last post by:
I've started work on a css layout tutorial. I expect that it will take a minimum of several weeks to get to a complete draft stage. I hope to get better feedback by publishing individual pages....
2
by: Michael | last post by:
Need some help trying to read values from web controls - specifically *finding* the controls (like a drop down list) - that are added dynamically added within an asp:panel control. The page...
4
by: Bass Pro | last post by:
Hi, I am creating textbox, radiobuttonlist and checkboxlist dynamically depending on data from a table. It is a questionnaire. I add the control on a Panel control during the 1st load_page event....
2
by: Steve Richter | last post by:
I am spending too much time thinking of nesting tables within tables to get the form layout that I want. a simple example: Sub heading: property text: entry field property text: entry...
15
by: Arpan | last post by:
Consider the following code which retrieves data from a SQL Server 2005 DB table & displays it in a DataGrid: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)...
1
by: quintesv via DotNetMonster.com | last post by:
Hi All, I'm a newbie at web design, and would like to know how to best design a layout. Right now Im using VS 2003, framework 1.1. I have designed page layouts as follows: 1 .A Table...
8
by: sethp | last post by:
I have a question about table layout in IE. I have a table with two columns. The left column has two rows and the right column has 1 row that has a column span of 2. In the left column I have...
1
by: Silicon Strawberry | last post by:
Hello, When I do the following: - create a layout grid by going 'Layout' 'Insert Table'; - accept the default settings (3 x 3 grid); - drag a text box from the toolbox on the centre cell...
0
by: Silicon Strawberry | last post by:
Hello, I posted this a while ago, but I haven't got a response yet. When I do the following: - create a layout grid by going 'Layout' 'Insert Table'; - accept the default settings (3 x 3...
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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...

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.