Why 2 <td> columns in Design tab are displayed as 1 column only in a browser presentation?

I have coded a Table with 1 <tr> and 2 <td> to read fildes from 2 folders.
The Design tab did show coding 1 and coding 2 as 2 cells/columns side by side
in one row of a table.  However, the browser presentation showed the files of
the 2nd folders directly under the files of the 1st folder. 

Why the browser presentation showed only one coulmn while the Design tab
showed 2 columns?  What might be the reasons for this mistake?

TIA,
Jeffrey    

0
wonjartran
2/4/2008 6:35:45 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

5 Replies
636 Views

Similar Articles

[PageSpeed] 26

 Please post your HTML.




Please remember to "mark as answered" posts that have helped you.

-----
http://lsudotnet.blogspot.com
0
LSU
2/4/2008 7:21:13 PM

 In fact, this is a Content page with a Master page.  The script codes for file and folder reading/writing are
inside the first codes of the <td></td> tags.   The folders and files are outputed as a table, i.e. <tr> & <td>.  
The problem is: I have 2 columns of folders and files.  Although these file reading/writing script codes were saved
inside the first codes of <td> </td> tags, the file reading/writing script codes for the second column displayed the
file/folder names immediately under the first column/td.  The Design tab did show two columns/<td>.

**********************************************************************************************
<
asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 600px; font-size: 11pt; font-family: Arial;">
<tr>
<td style="width: 139px; height: 20px">                          ' This is the first <td> tag

<%
The sceript codes are not shown here
'Get the folder object associated with the directory
............
'Loop through the files collection of the navigation bar'
...........
Response.Write("<tr>")                                           'This the table inside the first column/td
Response.Write(
"<td ")
Response.Write("-(" & FormatDateTime(objFile.DateLastModified, 2) & ")</td>")
Response.Write(
"</tr>")
......
Response.Write("<tr>")
Response.Write(
"<td >")
.......
'Loop through the subfolders collection
.......
Response.Write("<tr>")
Response.Write(
"<td>")
Response.Write("</font></td>")
Response.Write(
"</tr>")

 

'Get the subfolder path and loop through the files collection
...............
Response.Write(
"<tr>")
Response.Write(
"<td>")
Response.Write("-(" & FormatDateTime(objFile2.DateLastModified, 2) & ")</td>")
Response.Write(
"</tr>")
.....................

Response.Write(
"<tr>")
Response.Write(
"<td>")
Response.Write("-(" & FormatDateTime(objFile2.DateLastModified, 2) & ")</font></td>")
Response.Write(
"</tr>")
...................

%>                                                                'This is the end of the first column

</td>

<td >
<%                                                              'Here are the script codes for the second column
</td>

0
wonjartran
2/4/2008 8:32:31 PM

Hi

You miss the start table and close table tab, add the start table and end table as follow: 

 

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 600px; font-size: 11pt; font-family: Arial;">
<tr>
<td style="width: 139px; height: 20px">                          ' This is the first <td> tag<%
The sceript codes are not shown here
'Get the folder object associated with the directory
............
'Loop through the files collection of the navigation bar'
...........

Response.Write("<table>")
Response.Write("<tr>")                                           'This the table inside the first column/td
Response.Write(
"<td ")
Response.Write("-(" & FormatDateTime(objFile.DateLastModified, 2) & ")</td>")
Response.Write(
"</tr>")
......
Response.Write("<tr>")
Response.Write(
"<td >")
.......
'Loop through the subfolders collection
.......
Response.Write("<tr>")
Response.Write(
"<td>")
Response.Write("</font></td>")
Response.Write(
"</tr>")

 

'Get the subfolder path and loop through the files collection
...............
Response.Write(
"<tr>")
Response.Write(
"<td>")
Response.Write("-(" & FormatDateTime(objFile2.DateLastModified, 2) & ")</td>")
Response.Write(
"</tr>")
.....................

Response.Write(
"<tr>")
Response.Write(
"<td>")
Response.Write("-(" & FormatDateTime(objFile2.DateLastModified, 2) & ")</font></td>")
Response.Write(
"</tr>")

Response.Write("</table>")
...................

%>                                                                'This is the end of the first column

</td>

<td >
<%                                                              'Here are the script codes for the second column
</td>


Don't forget to click "Mark as Answer" on the post(s) that helped you.
0
TonyDong
2/4/2008 8:39:55 PM

 At the very least, you are missing an angle bracket in the following statement on the second line of your post.  Also, it is not valid to nest font tags across cell boundaries which it appears you have done.

 

 

Response.Write("<td ")
  


Please remember to "mark as answered" posts that have helped you.

-----
http://lsudotnet.blogspot.com
0
LSU
2/4/2008 9:02:59 PM

Thanks.

0
wonjartran
2/4/2008 9:18:54 PM
Reply:

Similar Artilces:

How to line up the tops of 2 <td> column with different number of files in a browser presentation
I have coded a Table with 1 <tr> and 2 <td> to read files from 2 file folders.These 2 file folders are shown as 2 file columns in my browser presentation.Because more files may be added to each folder, the height of td is not fixed.Therefore, when the file number of the left folder/column is less than that of theright folder/column, the files of the left column were centralized and there werespaces above and below the files. How can I move the files of left column up, so that the top is lined up with the top of the right column? TIA,Jeffrey    you can...

SqlBulkCopy: the locale id '0' of the source column '<column name> ' and the locale id '1033' of the destination column '<column name>' do not match.
Hi, I am using the sqlbulkcopy object to transfer large amount of data from one SQL server to Other. The code look like this.. SqlDataReader readerSrc = null;SqlBulkCopy bulkCopy = new SqlBulkCopy(connDest);//Prepare Destination Table.SqlCommand cmdDelete = new SqlCommand("DELETE FROM " + destTableName, connDest);//Set the sqlcommand textSqlCommand cmdGet = new SqlCommand("SELECT * FROM " + srcTableName, connSrc);//Open source connection.connSrc.Open();//Open destination connection.connDest.Open();int delete = cmdDelete.ExecuteNonQuery();//Get the data.readerSrc = cmdGet.ExecuteRead...

>>> DotNetNuke 3.2.1 and 4.0.1 Released <<<
"We are pleased to announce the release of DotNetNuke 3.2.1 and 4.0.1. These point releases address a number of issues identified after the major version releases on Nov. 7, 2005.  The 3.2.1 release contains an updated version of the Microsoft MemberRole component which addresses some Medium Trust issues on ASP.NET 2.0. A variety of defect corrections and new versions of the FreeTextBox rich text editor control are also included."This was taken off there site http://www.dotnetnuke.com/Default.aspx?tabid=703-Blake NiemyjskiBlog - Website: windowsc...

WHERE COLUMN=1 AND COLUMN=2
I have a table that I need to select ALL values that are submitted, so I can't use COLUMN IN (1,2) as this would return all rows with either 1 or 2. Same goes for using OR. So how do I transform the impossible query "WHERE COLUMN=1 AND COLUMN=2" into one that actually returns a result? In this example what I want to return would be all id's that have 1 AND 2 in the column in question, just to be be clear. Cheers! /Eskil   A column can only have ONE value. It can't be both 1 and 2. -- "Mark As Answer" if my reply helped you -- ...

Custom Composite Control
Let's start with what I'm looking for: <controls:MyWrapper id="Blah" runat="server">     <content>         <controls:Exporter id="Blah1" runat="server"  {This control has an image button and some other controls} />         <controls:GridView {This is a fully functional GridView} />         <controls:CustomFooterDetailer id="Yadda" runat="server" /> &nb...

display XML data in datagrid with checkbox column <template column>
i can set the datagrid.datasource = myXmlDataset, but anyone know how i can hook an unbound column (template column with a checkbox) to one of my XML fields ??? i was thinking of creating a datatable from scratch, cycling thru the items in the XML document and wring them into the table, then filling myXmlDataset, then binding that dataset to my datagrid. but this has proved to be more of a challenge than i thought. anyone tried doing this before ??? is it even feasible ???"If it is secrect enough, you alone know it." I might be missing something but why don't you read you...

eGuide 2.1.1 <--> 2.1.2
--____FKWXFITNNUNJHTZMZIBC____ Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi all, Playing around two servers with two different eGuide releases I'm able to = use this application to allow the users to change its own password with = the older version (eGuide 2.1.1) but not with the new one eGuide 2.1.2. Please, am I missing something? Is it not possible that each user change = her/his own password using eGuide 2.1.2? Thanks indeed, Ricardo --____FKWXFITNNUNJHTZMZIBC____ Content-Type: multipart/related; boundary="__...

changelog 2.1.1 <-> 2.1.2 ?
What is the changelog between 2.1.1 and 2.1.2 ? We started a localization into french before 2.1.1 was frozen, and we would like to reuse most of this work. Thanks to say what has changed with the patch. ( please forget the question if the answer is in the zip ; I couldn't download it yet) Benoit www.dotnetnuke.fr The changelog report is available form the Dotnetnuke.com website.Tom Lucas On last look the change log was from 2.0.4 not 2.1.1!Visit www.dnnnotes.com - index of DNN threads - hand picked quality threads. TextLayout Module - create multiple column layouts ...

Issue while assigning tr.innerHTML = "<td>a</td><td>b</td>";
tr = document.createElement('tr'); tr.innerHTML = "<td>a</td><td>b</td>"; print(tr.innerHTML); result:- "ab" expected:- "<td>a</td><td>b</td>" https://bugzilla.mozilla.org/show_bug.cgi?id=467872 ...

VB.NET 1.1 Searching through DataList Column by Column
Hi,I am trying to search through a DataList column by column.  I am doing this so that if each cell within that sector is empty then I will hide that column.  I have implemented a quick function in order to do this, however, it is searching through the datalist row by row.  Below is my code, with explanations of what the code is trying to do.  I think the problem is to do with the String sector.  Is there anyway that I can change the sector string so that it will iterate through the table (dataset) column by column.Code:Dim myData As Data.DataSet = dbAccess.getChildr...

How to strip a string of <html>, ,</html>, <body>, </body>, <form ... >, </form> tags?
I have stream which is the HTML input of a page. Now I want to use only that part of this page, that is within <form .....> and </form> tags, and excluding these tags.How would I go about stripping <html>, ,</html>, <body>, </body>, <form ... >, </form>, <head> and </head> tags? I have to make sure that <head ...javascript..> and its corresponding </head> tags are not stripped in this process.sun21170    Wait... you said you wanted to strip the head tags, and you're also saying you need to NOT strip the ...

GridView Pager Settings Display in << Prev 1 2 3 4 Next >>
Hi guys,  i just want to display the Gridview Pages in this  << Prev 1 2 3 4 Next >> way,tried lot of search but could not get this answer, please help its urgent  Thanks in advance  this code should give a fair idea.   <%@ Page Language="C#" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <script runat="server">     protected void grdMovies_DataBound(object sender, EventArgs e)    {     ...

How to divide 1 GridView Row with 1 column in 2 Rows with 5 columns?
Hi; I have a GridView with 10 rows and 1 column. How can I do to this GridView show the same data, but with 2 rows and 5 columns? In classic ASP, I made it this way: While (NOT rsFotos.EOF) if i mod 5 = 0 then Response.Write "</tr><tr>" end if ... Someone can help? :)  You have to use a custom template and lay the table out the way you want, either dropping controls in the template or creating a custom ITemplate that takes care of it for you. http://professionalaspnet.com/archive/2006/06/15/Useing-ITemplate-in-the-Data-Controls.aspxChris L...

superreview requested: [Bug 344850] Tabbing from <radio> or <textbox> with tabindex fails : [Attachment 231513] Patch rev. 1 #2
Boris Zbarsky <bzbarsky@mit.edu> has asked Robert O'Callahan (Novell) <roc@ocallahan.org> for superreview: Bug 344850: Tabbing from <radio> or <textbox> with tabindex fails https://bugzilla.mozilla.org/show_bug.cgi?id=344850 Attachment 231513: Patch rev. 1 https://bugzilla.mozilla.org/attachment.cgi?id=231513&action=edit ------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu> roc, if you're at all familiar with this code, could you review? This is the bug I was telling you about the other day... ...

Web resources about - Why 2 <td> columns in Design tab are displayed as 1 column only in a browser presentation? - asp.net.web-forms

Presentation High School - Wikipedia, the free encyclopedia
... 121°54′W  /  37.283°N 121.900°W  / 37.283; -121.900 Coordinates : 37°17′N 121°54′W  /  37.283°N 121.900°W  / 37.283; -121.900 Presentation ...

authorSTREAM App Brings PowerPoint Presentations To Facebook
PowerPoint presentations aren’t just for conference rooms anymore, as Facebook application authorSTREAM allows users to upload presentations ...

Presentation Shows Facebook Ad Product Roadmap: Page Metrics, Real Time Ads, No Banners
A document accidentally revealed by a Facebook advertising partner in Poland provides new details on the company’s ad product roadmap. The presentation ...

Lessonator: Create music slideshow presentations
Lessonator is a tool for creating beautiful music slideshow presentations on your Mac. It works like a mashup between Apple’s Keynote and Garageband, ...

Scripting News: Create a presentation in Fargo.
... move my whole act over there, but in the meantime, here's a pointer to my latest piece. http://dave.smallpict.com/2013/06/28/howToCreateAPresentationInFargo ...

12 Minutes To Create a Mind-Changing Presentation
Reading this blog article will take you only 12 minutes — 12 minutes to find out how to draft great presentations and to become a more effective ...

App Store - SlideShark: View & Share Presentations
Get SlideShark: View & Share Presentations on the App Store. See screenshots and ratings, and read customer reviews.

Football Manager 2016 review: Presentation makes perfect
At one point it was all going smoothly. Inspired by Jurgen Klopp, my Liverpool team was playing a high-pressure, high-tempo game that even the ...

PowerPoint Presentation of the Darned
... PowerPoint deck from Jeb’s recent “Imma Tell My Mom, Dad and Big Brother You Were MEAN to Me” conference. There are 112 slides in the presentation. ...

Valeant Hits a Two-Year Low After Ackman's Presentation
Valeant Pharmaceuticals International Inc. tumbled to a two-year low, closing out its worst month ever, after billionaire shareholder William ...

Resources last updated: 12/11/2015 2:26:37 AM