cross page posting [modified]
-
Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007
-
Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007
I Never Look Behind wrote:
how will i achieve this?
1 - Create a class which contains all these fields required. Assign value to the class fields and store class object in session which can be access in all these three pages. Remove the session after insertion to the database in final page. 2 - Create a temporary table and store the details over there. After insertion remove these values. 3 - If your information is not sensitive, pass it through querystring.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007
The most optimized solution to this requirement is property. Create a class with all these properties Name,Address,email etc.. and assign value to these properties and either pass it to another page or put it in session... You can directly also put all these values in session...
-
I Never Look Behind wrote:
how will i achieve this?
1 - Create a class which contains all these fields required. Assign value to the class fields and store class object in session which can be access in all these three pages. Remove the session after insertion to the database in final page. 2 - Create a temporary table and store the details over there. After insertion remove these values. 3 - If your information is not sensitive, pass it through querystring.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
i hvae already done this using session but i want ot do this using some other different thing.
-
i hvae already done this using session but i want ot do this using some other different thing.
I Never Look Behind wrote:
already done this using session but i want ot do this using some other different thing.
What about the 2nd and 3rd suggestion give by me ? Is that the different method you need. Why you need to try different method if session's are working as expected ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
I Never Look Behind wrote:
already done this using session but i want ot do this using some other different thing.
What about the 2nd and 3rd suggestion give by me ? Is that the different method you need. Why you need to try different method if session's are working as expected ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
Actuall it is a 7-step registering process 7 each step have large amount of data.
-
Actuall it is a 7-step registering process 7 each step have large amount of data.
I Never Look Behind wrote:
Actuall it is a 7-step registering process 7 each step have large amount of data.
Then you could put all the controls required in one single page and hide/show it using javascript. Since all the controls are in single page, you will be able to access all of them and update accordingly.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
I Never Look Behind wrote:
Actuall it is a 7-step registering process 7 each step have large amount of data.
Then you could put all the controls required in one single page and hide/show it using javascript. Since all the controls are in single page, you will be able to access all of them and update accordingly.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
But all the steps are compulsory & if we put all control in a single page then it will become very complicated.
-
But all the steps are compulsory & if we put all control in a single page then it will become very complicated.
I Never Look Behind wrote:
But all the steps are compulsory & if we put all control in a single page then it will become very complicated.
:mad: This is ridiculous, You don't want to use all the 3 methods which is specified in the first post, you don't want to use all controls in single page and separate using JS. So how you are planning to do ? And I am not getting why you don't want to use all these.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007
Use Wizard control. you have no need to use multiple page. bEst Regard pAthan
please don't forget to vote on the post that helped you.
-
Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007
1. You can use
Server.Transfer
Method andCross Page Post
Feature which will allow you a normal post back but to a different page in the application. In the New page you access the values of the Previous Page using thePreviousPage property
. [or] 2. You can UseWizard Control
which will help you to create a multi-step form entry process in a web page.- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
-
Use Wizard control. you have no need to use multiple page. bEst Regard pAthan
please don't forget to vote on the post that helped you.
Thnaks
-
1. You can use
Server.Transfer
Method andCross Page Post
Feature which will allow you a normal post back but to a different page in the application. In the New page you access the values of the Previous Page using thePreviousPage property
. [or] 2. You can UseWizard Control
which will help you to create a multi-step form entry process in a web page.- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
Thnaks