Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Strange form request - Ideas or input requested

Reply
Thread Tools

Strange form request - Ideas or input requested

 
 
VK
Guest
Posts: n/a
 
      02-22-2005
Hello:

We have the regular aspx form with checkboxlist, text boxes etc, all
this information is inserted into database and emailed to one user,
which is working fine. What they would like to do is - once the user
submits this information it takes them to another screen which lists out
information typed/selected and then once they are satisfied with this
submit again which would then insert into database and email an user.

Is it possible to add another step before the form is submitted?

Many thanks,
vani

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
MasterGaurav
Guest
Posts: n/a
 
      02-23-2005
What do you want to do in the "another step before"?

Are you using ASP.Net 2.0? If so... there's a direct way by use of
cross-page-posting.

On ASP.Net 1.1, you may be able to make use of Panel. But it all
depends on what you are trying to do.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

 
Reply With Quote
 
 
 
 
VK
Guest
Posts: n/a
 
      02-23-2005


Hi Gaurav,

the second screen is to show the user the information he keyed in, if
any part is incorrect then he can use the browser back button and
re-enter the information. It is like a confirmation screen for the user
before this information is submitted to database and emailed to another
user.

We are using .Net 1.1 - could you explain a bit more?

Thanks.
Vani



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
MasterGaurav
Guest
Posts: n/a
 
      02-25-2005
Great then... Panel is there for your rescue.

Divide your page into three panels.

Panel 1: For information input
Panel 2: Information confirmation
Panel 3: Success report (this can optionally a forward to a new /
success page so that the information is not resubmitted on reloading)

One panel will be visible at one time.

Steps:
1. Make Panel-1 visible. Keep a hidden variable to track the panel
number.
2. Submit the form. Increase panel number by 1.
3. Show panel 2. Give a back link. Preferably, don't ask him to press
Back button since if cache is set to "Automatically detect", all his
data will be lost. IE is very bad in this.
4. Back link will show panel 1 (of course, decrease the panel number by
1)
5. A confirm link will move to panel 3.

Note that since everything is happening within one page, all data will
be stored in viewstate and never lost. doesn't matter even if the cache
invalidation is set to "Everytime the page is loaded" on client.



--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
OT: Your input requested tony cooper Digital Photography 25 12-07-2008 06:10 AM
Kerberos bindings for ruby, input requested snacktime Ruby 3 09-20-2006 03:25 AM
Any ideas how to do this with DIV, FORM INPUT,...print characters... endlesstide@gmail.com Javascript 2 04-15-2006 02:57 AM
HTTP::Request::Form - Can't submit a form with input type=image button fochie Perl Misc 0 02-01-2005 06:42 AM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM



Advertisments