PC Review


Reply
Thread Tools Rate Thread

Difficulty picking up field value from second webform

 
 
Jonathan
Guest
Posts: n/a
 
      6th Mar 2008
I have 3 webforms on 1 page each with Submit buttons.

VB.net code activated by clicking the submit button in form 3 is not picking
up the value of a field in form 2. It is just returning Null or "" even
though I enter data in the text box.

I am referring to the Form 2 field's unique name as follows:

Request.Form("UserEmailAddress")

Any ideas?


 
Reply With Quote
 
 
 
 
Steven Cheng
Guest
Posts: n/a
 
      7th Mar 2008
Hi Jonathan,

From your description, you have web page that use 3 webforms on it and have
problem to get all the form data in those forms when submitting the page,
correct?

Based on my understanding, ASP.NET web page should restrict the server-side
webform <form runat="server" > to only one on a single page. Is the other
two forms on your page normal client <form> without runat="server"?

Also, as for the form data lost when submitting page, it is the expected
behavior(a html page behavior). When you do submit, html page will only
carry the form data on the exact form which raise the submit operation, the
data in other <form> won't get submitted.

BTW, would you provide some more information or background about why you
will need multiple forms on a single page or is it possible that we combine
them in single form?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: (E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take

approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution.

The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump

analysis issues. Issues of this nature are best handled working with a
dedicated Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
>From: "Jonathan" <(E-Mail Removed)>
>Subject: Difficulty picking up field value from second webform
>Date: Fri, 7 Mar 2008 00:45:59 +1300
>
>I have 3 webforms on 1 page each with Submit buttons.
>
>VB.net code activated by clicking the submit button in form 3 is not

picking
>up the value of a field in form 2. It is just returning Null or "" even
>though I enter data in the text box.
>
>I am referring to the Form 2 field's unique name as follows:
>
>Request.Form("UserEmailAddress")
>
>Any ideas?
>
>
>


 
Reply With Quote
 
Steven Cheng
Guest
Posts: n/a
 
      11th Mar 2008
Hi Jonathan,

Have you got any progress on this issue or does the information in my last
reply help some?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: (E-Mail Removed).

--------------------
>From: (E-Mail Removed) ("Steven Cheng")
>Organization: Microsoft
>Date: Fri, 07 Mar 2008 01:17:09 GMT
>Subject: RE: Difficulty picking up field value from second webform


>
>Hi Jonathan,
>
>From your description, you have web page that use 3 webforms on it and

have
>problem to get all the form data in those forms when submitting the page,
>correct?
>
>Based on my understanding, ASP.NET web page should restrict the

server-side
>webform <form runat="server" > to only one on a single page. Is the

other
>two forms on your page normal client <form> without runat="server"?
>
>Also, as for the form data lost when submitting page, it is the expected
>behavior(a html page behavior). When you do submit, html page will only
>carry the form data on the exact form which raise the submit operation,

the
>data in other <form> won't get submitted.
>
>BTW, would you provide some more information or background about why you
>will need multiple forms on a single page or is it possible that we

combine
>them in single form?
>
>Sincerely,
>
>Steven Cheng
>
>Microsoft MSDN Online Support Lead
>
>
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we
>
>can improve the support we provide to you. Please feel free to let my
>manager know what you think of
>
>the level of service provided. You can send feedback directly to my

manager
>at: (E-Mail Removed).
>
>==================================================
>Get notification to my posts through email? Please refer to
>
>http://msdn.microsoft.com/subscripti...ault.aspx#noti

f
>ications.
>
>Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
>where an initial response
>
>from the community or a Microsoft Support
>Engineer within 1 business day is acceptable. Please note that each follow
>up response may take
>
>approximately 2 business days as the support
>professional working with you may need further investigation to reach the
>most efficient resolution.
>
>The offering is not appropriate for situations
>that require urgent, real-time or phone-based interactions or complex
>project analysis and dump
>
>analysis issues. Issues of this nature are best handled working with a
>dedicated Microsoft Support
>
>Engineer by contacting Microsoft Customer Support Services (CSS) at
>
>http://msdn.microsoft.com/subscripti...t/default.aspx.
>==================================================
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>--------------------
>>From: "Jonathan" <(E-Mail Removed)>
>>Subject: Difficulty picking up field value from second webform
>>Date: Fri, 7 Mar 2008 00:45:59 +1300
>>
>>I have 3 webforms on 1 page each with Submit buttons.
>>
>>VB.net code activated by clicking the submit button in form 3 is not

>picking
>>up the value of a field in form 2. It is just returning Null or "" even
>>though I enter data in the text box.
>>
>>I am referring to the Form 2 field's unique name as follows:
>>
>>Request.Form("UserEmailAddress")
>>
>>Any ideas?
>>
>>
>>

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Picking up last 4 letters from a field CAM Microsoft Access Queries 2 10th Jul 2008 02:41 PM
Picking out words in a text field CD Tom Microsoft Access Forms 7 19th May 2008 11:11 PM
To field not picking up on Nickname Uncle Scotty Microsoft Outlook Contacts 7 12th Feb 2007 07:49 PM
Re: prevent the from field picking any user in outlook 2003 Vince Averello [MVP-Outlook] Microsoft Outlook Discussion 2 19th Dec 2006 09:55 PM
how can I enter a date in an excel field by picking from a popup . =?Utf-8?B?Sm9lIEJ1cmdl?= Microsoft Excel Misc 3 19th Sep 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:29 AM.