Simple ASP.NET form

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Nov 2008
Posts: 42
Reputation: squarkman is an unknown quantity at this point 
Solved Threads: 0
squarkman squarkman is offline Offline
Light Poster

Re: Simple ASP.NET form

 
0
  #11
Dec 5th, 2008
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?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 42
Reputation: squarkman is an unknown quantity at this point 
Solved Threads: 0
squarkman squarkman is offline Offline
Light Poster

Re: Simple ASP.NET form

 
0
  #12
Dec 5th, 2008
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?
  1.  
  2. <tr>
  3. <td class="Listings" valign="top" width="62">
  4. Comments2
  5. </td>
  6. <td class="Listings" width="303">
  7. <asp:TextBox cssclass="inputTXT" TextMode="MultiLine" Rows="5" ID="txtComments2" runat="server"></asp:TextBox>
  8. </td>
  9. <td class="Listings" valign="top" width="50">
  10. <asp:RequiredFieldValidator ID="rfvMailBody2" runat="server" ControlToValidate="txtComments"
  11. ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></td>
  12. </tr>
  13.  
  14.  
  15. <tr>
  16. <td class="Listings" valign="top" width="62">
  17. Comments
  18. </td>
  19. <td class="Listings" width="303">
  20. <asp:TextBox cssclass="inputTXT" TextMode="MultiLine" Rows="5" ID="txtComments" runat="server"></asp:TextBox>
  21. </td>
  22. <td class="Listings" valign="top" width="50">
  23. <asp:RequiredFieldValidator ID="rfvMailBody" runat="server" ControlToValidate="txtComments"
  24. ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></td>
  25. </tr>
Last edited by squarkman; Dec 5th, 2008 at 2:33 pm.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 42
Reputation: squarkman is an unknown quantity at this point 
Solved Threads: 0
squarkman squarkman is offline Offline
Light Poster

Re: Simple ASP.NET form

 
0
  #13
Dec 5th, 2008
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?



  1. <%@ page language="VB" masterpagefile="~/pages/airedale911.master" autoeventwireup="false" inherits="feedback, App_Web_i5ksdbwd" title="airedale911.org: Feedback" %>
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 63
Reputation: 4advanced is an unknown quantity at this point 
Solved Threads: 10
4advanced 4advanced is offline Offline
Junior Poster in Training

Re: Simple ASP.NET form

 
0
  #14
Dec 6th, 2008
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:
  1. <Masterpage>
  2. <Form>
  3. <ContentPlacehoder \>
  4. <\Form>
  5. <\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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC