Copy Paste label textbox aspx code

T

tlasher

First off, I have a huge aspx file for an application form.
The form has several fields per division item.
For example: Basic Information
Employment Information
Education Information are division items.
What I need to be able to do is to copy and paste label and textbox
aspx code
from other aspx files into this huge aspx file. But, I need to be able
to pinpoint the place when I can paste this code as this is a really
huge file
and the default place is the very top of the form. Basically I need to
set an insertion point where I can paste this code so I don't have to
drag
all these boxes down into the appropriate place.
Thanks for any help at all.
 
K

Ken Cox [Microsoft MVP]

What about inserting <!--******* Comments *********--> in the HTML and

#Region " Region comments"
#End Region

In the code behind?
 
T

tlasher

I'm not sure what you mean.

If you have the following code:
<asp:TextBox id="dtto" style="Z-INDEX: 119; LEFT: 200px; POSITION:
absolute; TOP: 360px" runat="server"
Height="24px" Width="152px" Font-Size="X-Small" Font-Names="Arial"
tabIndex="4"></asp:TextBox>
<asp:Label id="Label14" style="Z-INDEX: 118; LEFT: 8px; POSITION:
absolute; TOP: 496px" runat="server"
Height="24px" Width="144px" Font-Size="X-Small"
Font-Names="Arial">Comments:</asp:Label>

And then try to copy and paste that code from the Design View of
the aspx file into my huge file. Then the huge file will ignore the
positioning and place everything at top covering some textboxes
that may already be there. If I put <!--comments--> in the HTML
code - it won't do any good because after I uncomment it, it will
still
place the textboxes at the top of the form and NOT where I want
it to be placed.
 
K

Ken Cox [Microsoft MVP]

Oh, sorry. I thought you meant tracking the position in the source code, not
the rendered position.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top