473,406 Members | 2,369 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,406 software developers and data experts.

Automatic formatting html

Hi there,

I have a placeholder, table, tr and td object in this way in an .aspx file

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<table width="960" border="1">
<tr>
<td>
... some other stuff
</td>
</tr>
</table>
</asp:placeholder>

I've always been manually programming the pure html like this to extinguish
where each code block ends. Remark that at the ending tags

</..>
</..>
</..>

I always want to have exactly ONE blank character between the ending tags to
see where these code blocks end.

and when changing between design and html modein the vs.net 2003 environment
it automatically changes it to this

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<TABLE width="960" border="1">
<TR>
<TD>...some stuff</TD></TR></TABLE>
</asp:placeholder>

Any suggestions that works?

TIA

Kenneth P
Nov 19 '05 #1
3 1417
Humm..you seem to be using the placeholder for where I would normally use a
<asp:panel> control for. Are you positive you've done this in the past. If
not, try using the panel control

--
TDAVISJR
aka - Tampa.NET Koder
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi there,

I have a placeholder, table, tr and td object in this way in an .aspx file

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<table width="960" border="1">
<tr>
<td>
... some other stuff
</td>
</tr>
</table>
</asp:placeholder>

I've always been manually programming the pure html like this to
extinguish
where each code block ends. Remark that at the ending tags

</..>
</..>
</..>

I always want to have exactly ONE blank character between the ending tags
to
see where these code blocks end.

and when changing between design and html modein the vs.net 2003
environment
it automatically changes it to this

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<TABLE width="960" border="1">
<TR>
<TD>...some stuff</TD></TR></TABLE>
</asp:placeholder>

Any suggestions that works?

TIA

Kenneth P

Nov 19 '05 #2
Humm..you seem to be using the placeholder for where I would normally use a
<asp:panel> control for. Are you positive you've done this in the past. If
not, try using the panel control

--
TDAVISJR
aka - Tampa.NET Koder
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi there,

I have a placeholder, table, tr and td object in this way in an .aspx file

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<table width="960" border="1">
<tr>
<td>
... some other stuff
</td>
</tr>
</table>
</asp:placeholder>

I've always been manually programming the pure html like this to
extinguish
where each code block ends. Remark that at the ending tags

</..>
</..>
</..>

I always want to have exactly ONE blank character between the ending tags
to
see where these code blocks end.

and when changing between design and html modein the vs.net 2003
environment
it automatically changes it to this

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<TABLE width="960" border="1">
<TR>
<TD>...some stuff</TD></TR></TABLE>
</asp:placeholder>

Any suggestions that works?

TIA

Kenneth P

Nov 19 '05 #3
Well TDAVISJR,

To tell you the truth, I never had done it with a placeholder, doing it with
a Panel didn't change anything.

The vs.net2003 editor still does whatever it will with my code, I still
can't control it.

Can't I in Tools->Options -> somewhere set my options and tell the
vs.net2003 editor to obey me?

/Kenneth P

"TDAVISJR" wrote:
Humm..you seem to be using the placeholder for where I would normally use a
<asp:panel> control for. Are you positive you've done this in the past. If
not, try using the panel control

--
TDAVISJR
aka - Tampa.NET Koder
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi there,

I have a placeholder, table, tr and td object in this way in an .aspx file

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<table width="960" border="1">
<tr>
<td>
... some other stuff
</td>
</tr>
</table>
</asp:placeholder>

I've always been manually programming the pure html like this to
extinguish
where each code block ends. Remark that at the ending tags

</..>
</..>
</..>

I always want to have exactly ONE blank character between the ending tags
to
see where these code blocks end.

and when changing between design and html modein the vs.net 2003
environment
it automatically changes it to this

<asp:placeholder id=plhGrid Visible="False" Runat="server">
<TABLE width="960" border="1">
<TR>
<TD>...some stuff</TD></TR></TABLE>
</asp:placeholder>

Any suggestions that works?

TIA

Kenneth P


Nov 19 '05 #4

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

Similar topics

0
by: Rasmus Fogh | last post by:
Someone raised the question of automatic code generation a few weeks back. And yes, we (CCPN) are using automatic Python code generation in a major way. Basically we are making data models in...
7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
9
by: Paul Rubin | last post by:
I'm trying the super() function as described in Python Cookbook, 1st ed, p. 172 (Recipe 5.4). class A(object): def f(self): print 'A' class B(object): def f(self):
1
by: Dymov Vlad | last post by:
Hello, All! I have some trouble with subject. Maybe it is not trouble at all, but i need a good advise. I have just tried to write simple ASPX page in HTML view. Everything was good....
0
by: Kenneth P | last post by:
Hi there, I have a placeholder, table, tr and td object in this way in an .aspx file <asp:placeholder id=plhGrid Visible="False" Runat="server"> <table width="960" border="1"> <tr> <td> ......
10
by: Coleen | last post by:
Hi all :-) I have a weird formatting problem with an HTML table that I am populating using VB.Net and HTML. Here is the snippet of code for the cell I'm trying to format: Dim...
3
by: sergio | last post by:
i am SURE i am using the wrong terminology... but what i would like to do is something like this: pageContent=''' {toc} h1. Header Section h2. Date: {metadata:date}'''+date+'''{metatdata}...
1
by: Russell Mangel | last post by:
I am using VS2005. When I paste source code into the code window, VS2005 formats like the following: public MsgRecipientReader() : base() { }
2
by: bryars | last post by:
I want to write some SQL which results in an automatic conversion of a datetime to a string in a format suitable for the Language of the connection (either by explicitly setting the Language in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.