Hello,
i have an ASP.net / VB page with a Script (submitValues) and a Form.
1. The form has 20 input texts and a "Submit" button.
2. The script declares 20 variables. The value of each variable is taken
from each of the 20 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.
As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>
What i want is to create 2 Pages:
A. Page1.aspx where i put 10 input texts.
B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are sent to Page2.
When i click the button in Page2, the form values of Page1 (received) and
the form values of Page2 (inserted) will be sent by email using the script i
mentioned.
Can you help me out?
Thanks, 5 2127
on click of submit button on page 1, post the form to Page 2 (set
action=Page2).
read all your variables in Page 2 page_load and put them in hidden variables
in page 2.
next on submit of page 2 read all variables.
Av.
"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:eA**************@TK2MSFTNGP09.phx.gbl... Hello,
i have an ASP.net / VB page with a Script (submitValues) and a Form.
1. The form has 20 input texts and a "Submit" button. 2. The script declares 20 variables. The value of each variable is taken from each of the 20 input texts. 3. When the button "Submit" is click the variable values are sent to an email address using AspNetEmail.
As an example, the button code is this one: <asp:Button ID="submit" runat="server" OnClick="submitValues" Text="Submit"/>
What i want is to create 2 Pages: A. Page1.aspx where i put 10 input texts. B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are sent to Page2. When i click the button in Page2, the form values of Page1 (received) and the form values of Page2 (inserted) will be sent by email using the script i mentioned.
Can you help me out?
Thanks,
I just found a very good article. Well, at least that's my opinion. http://www.dotnetbips.com/displayarticle.aspx?id=79
What do you think?
Miguel
"avnrao" <av*@newsgroups.com> wrote in message
news:#M**************@TK2MSFTNGP10.phx.gbl... on click of submit button on page 1, post the form to Page 2 (set action=Page2). read all your variables in Page 2 page_load and put them in hidden
variables in page 2. next on submit of page 2 read all variables.
Av. "Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message news:eA**************@TK2MSFTNGP09.phx.gbl... Hello,
i have an ASP.net / VB page with a Script (submitValues) and a Form.
1. The form has 20 input texts and a "Submit" button. 2. The script declares 20 variables. The value of each variable is taken from each of the 20 input texts. 3. When the button "Submit" is click the variable values are sent to an email address using AspNetEmail.
As an example, the button code is this one: <asp:Button ID="submit" runat="server" OnClick="submitValues" Text="Submit"/>
What i want is to create 2 Pages: A. Page1.aspx where i put 10 input texts. B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are sent to Page2. When i click the button in Page2, the form values of Page1 (received)
and the form values of Page2 (inserted) will be sent by email using the
script i mentioned.
Can you help me out?
Thanks,
There are a number of ways to pass values from one page to another, such as
using the querystring, cookies, session,context. You need to choose for your
applications which suits well, here is an another way for passing values
from one page to another page. http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconPassingServerControlValuesBetweenPages.asp
and another article on list of options for passing values across pages. http://msdn.microsoft.com/msdnmag/is...e/default.aspx
--
Saravana
Microsoft MVP - ASP.NET www.extremeexperts.com
"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:eA**************@TK2MSFTNGP09.phx.gbl... Hello,
i have an ASP.net / VB page with a Script (submitValues) and a Form.
1. The form has 20 input texts and a "Submit" button. 2. The script declares 20 variables. The value of each variable is taken from each of the 20 input texts. 3. When the button "Submit" is click the variable values are sent to an email address using AspNetEmail.
As an example, the button code is this one: <asp:Button ID="submit" runat="server" OnClick="submitValues" Text="Submit"/>
What i want is to create 2 Pages: A. Page1.aspx where i put 10 input texts. B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are sent to Page2. When i click the button in Page2, the form values of Page1 (received) and the form values of Page2 (inserted) will be sent by email using the script
i mentioned.
Can you help me out?
Thanks,
I think the most straightforward way here is to write out
those values to a text file (do this in the submitValues
method of page1.aspx) then let page2.aspx pick those
values from the text file and post the combined group of
values to the email -----Original Message----- Hello,
i have an ASP.net / VB page with a Script (submitValues)
and a Form. 1. The form has 20 input texts and a "Submit" button. 2. The script declares 20 variables. The value of each
variable is takenfrom each of the 20 input texts. 3. When the button "Submit" is click the variable values
are sent to anemail address using AspNetEmail.
As an example, the button code is this one: <asp:Button ID="submit" runat="server"
OnClick="submitValues"Text="Submit"/>
What i want is to create 2 Pages: A. Page1.aspx where i put 10 input texts. B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are
sent to Page2.When i click the button in Page2, the form values of
Page1 (received) andthe form values of Page2 (inserted) will be sent by
email using the script imentioned.
Can you help me out?
Thanks, .
text file? are you serious?
#
just use session variables for each var
"michaelAngelo" <an*******@discussions.microsoft.com> wrote in message news:16****************************@phx.gbl... I think the most straightforward way here is to write out those values to a text file (do this in the submitValues method of page1.aspx) then let page2.aspx pick those values from the text file and post the combined group of values to the email -----Original Message----- Hello,
i have an ASP.net / VB page with a Script (submitValues) and a Form. 1. The form has 20 input texts and a "Submit" button. 2. The script declares 20 variables. The value of each
variable is takenfrom each of the 20 input texts. 3. When the button "Submit" is click the variable values are sent to anemail address using AspNetEmail.
As an example, the button code is this one: <asp:Button ID="submit" runat="server" OnClick="submitValues"Text="Submit"/>
What i want is to create 2 Pages: A. Page1.aspx where i put 10 input texts. B. Page2.aspx where i put the other 10 input texts.
When i click the button in Page1, the form values are sent to Page2.When i click the button in Page2, the form values of Page1 (received) andthe form values of Page2 (inserted) will be sent by email using the script imentioned.
Can you help me out?
Thanks, . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kassam |
last post by:
Hi MVPs out there.
I have constructed an order form and the users will enter the informtion. I
now need to send the filled out form as an e-mail (body being the HTML with
the fille din data) to...
|
by: Mark J. McGinty |
last post by:
Greets,
Part of the content of one of our web pages uses wingdings and Chr(239)
through Chr(242) (which are little arrow outlines, though that's not really
important.)
It worked just fine in...
|
by: zorhel |
last post by:
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.
So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients,...
|
by: eswanson |
last post by:
I have a web page I need to post a file plus some other fields to it. How
can I do this from a asp.net page. I know I can send individual fields to the
other page, but how do I send a file to the...
|
by: Andrea De Santi |
last post by:
How can I redirect to another page with form data?
In asp Classic I write:
<form ... action="filename">...</form>
and in then target page I write
<%=request.form("fieldname")%>
.....
but in...
|
by: André |
last post by:
Hi,
I try to create and render a graphic among other objects like e.g. tables,
labels, buttons.
The tables are not a problem, neither the graphic.
My problem is that i can't render both...
|
by: brendwal |
last post by:
Hi, I am stumped at how to do this:
I have a simple webform that I want the user to enter one value (an address). I then want the form to send those values to a PHP script that processes the...
|
by: newlearner |
last post by:
hi,
On a test page i try to insert some values thru post method but the values which i send is not replaced in the url which i specify. I get the code found in the page and not the updated one.
...
|
by: sindhudixit |
last post by:
Hey,
I am having a user fill out a form then the fields are going to uploaded to my database. So, at this point, when the user hits the submit button I want three things to happen:
1. The...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |