| | |
Simple ASP.NET form
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Nov 2008
Posts: 42
Reputation:
Solved Threads: 0
Thanks. Now that you understand the issue, is it possible for me to take a working asp form and add fields or am I screwed because I will still need to get at the compiled code-behind pages.
You would think that one could take a form that works and add fields without access code-behind pages.
It must be possible, yes?
It's just a form.
Why can't HTML be added to the .aspx that correlates to the extra fields?
You would think that one could take a form that works and add fields without access code-behind pages.
It must be possible, yes?
It's just a form.
Why can't HTML be added to the .aspx that correlates to the extra fields?
•
•
Join Date: Nov 2008
Posts: 42
Reputation:
Solved Threads: 0
here's the original td with the copied td
can anyone see an error why this would not work to create a form element from an existing one?
can anyone see an error why this would not work to create a form element from an existing one?
ASP.NET Syntax (Toggle Plain Text)
<tr> <td class="Listings" valign="top" width="62"> Comments2 </td> <td class="Listings" width="303"> <asp:TextBox cssclass="inputTXT" TextMode="MultiLine" Rows="5" ID="txtComments2" runat="server"></asp:TextBox> </td> <td class="Listings" valign="top" width="50"> <asp:RequiredFieldValidator ID="rfvMailBody2" runat="server" ControlToValidate="txtComments" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></td> </tr> <tr> <td class="Listings" valign="top" width="62"> Comments </td> <td class="Listings" width="303"> <asp:TextBox cssclass="inputTXT" TextMode="MultiLine" Rows="5" ID="txtComments" runat="server"></asp:TextBox> </td> <td class="Listings" valign="top" width="50"> <asp:RequiredFieldValidator ID="rfvMailBody" runat="server" ControlToValidate="txtComments" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></td> </tr>
Last edited by squarkman; Dec 5th, 2008 at 2:33 pm.
•
•
Join Date: Nov 2008
Posts: 42
Reputation:
Solved Threads: 0
I think there is some critical form element crap in the compiled dll file called App_Web_i5ksdbwd and inherited into the form. Since it's a dll file, is there no software that will open it so I can edit it?
ASP.NET Syntax (Toggle Plain Text)
<%@ page language="VB" masterpagefile="~/pages/airedale911.master" autoeventwireup="false" inherits="feedback, App_Web_i5ksdbwd" title="airedale911.org: Feedback" %>
•
•
Join Date: Nov 2008
Posts: 63
Reputation:
Solved Threads: 10
Squarkman,
Please notice that you can't have nested forms in a page. Each form is a single instance. The main-form-tag is in the masterpage probably opening at the beginning-tag of the contentplaceholder and closing after the contentplaceholder. This means that ALL your code in the page is within the form-tag.
for example like this:
The only option would be to add another form in the masterpage but I think that is not what you want.....
Regards,
[edit]
Ofcourse there is some reverse-engineering software available but that still requires you to reverse the complete webapplication and choose to upload the uncompiled version ór the compiled application.
Compiled applications have a slightly better performance than uncompiled applications because the FrameWork has to compile the code-behind at each 1st-request.
Please notice that you can't have nested forms in a page. Each form is a single instance. The main-form-tag is in the masterpage probably opening at the beginning-tag of the contentplaceholder and closing after the contentplaceholder. This means that ALL your code in the page is within the form-tag.
for example like this:
ASP.NET Syntax (Toggle Plain Text)
<Masterpage> <Form> <ContentPlacehoder \> <\Form> <\Masterpage>
The only option would be to add another form in the masterpage but I think that is not what you want.....
Regards,
[edit]
Ofcourse there is some reverse-engineering software available but that still requires you to reverse the complete webapplication and choose to upload the uncompiled version ór the compiled application.
Compiled applications have a slightly better performance than uncompiled applications because the FrameWork has to compile the code-behind at each 1st-request.
Last edited by 4advanced; Dec 6th, 2008 at 5:11 am.
![]() |
Similar Threads
- Simple ASP.Net Login Page using C# (C#)
- Updated : Simple ASP.Net Login Page (ASP.NET)
- ASP.Net Security 101 Part 1 (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: How can i use Radiobutton in Asp.net using vb
- Next Thread: How to read text file and display it in a messagebox
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamically edit fileuploader fill flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers





