|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Copy Paste label textbox aspx codeFirst 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. What about inserting <!--******* Comments *********--> in the HTML and
#Region " Region comments" #End Region In the code behind? <tlas***@dmacc.edu> wrote in message Show quoteHide quote news:1114459916.571382.292010@l41g2000cwc.googlegroups.com... > 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. > 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. Oh, sorry. I thought you meant tracking the position in the source code, not
the rendered position. <tlas***@dmacc.edu> wrote in message Show quoteHide quote news:1114461653.588949.93490@f14g2000cwb.googlegroups.com... > 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. >
Adding Event Handler to Dynamically added Controls
Datalist and LoadTemplate Weird "defined in multiple places" error How do I transfer a value from a Querystring (codebehind) to a JavaScript function? Form Post Back in ASP.Net 1.1 Referencing to .ascx How do I set the value of a checkbox on my repeater control? ASP.NET project and Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET How to get the file's name after click the Browse... in HtmlInputFile How to Remove item from DropDownList ? |
|||||||||||||||||||||||