Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Buttons

Status
Not open for further replies.

RussOSU

Technical User
Apr 16, 2001
93
US
I am looking to encode my buttons in my .asp webpage. Does anyone know if this is even possible?
 
I am wanting to create 2 buttons. One which will take a user to a confirmation page and the other which will take a person to a cancellation page. I would like to have this in my .asp code. I am not sure if it is possible though
 
ASP just spits out HTML. If you put the proper HTML tags in your ASP page then you will have buttons. If you format your Forms correctly then they will go to the right places. As far as "encoding", I am confused at what you are getting at.

What exactly are you trying to accomplish and at what level are you familar with web development? Wushutwist
 
What about putting each button in its own form then when the button is clicked as Submit it will go to whatever page you defined in the Form post. Mary :)

Rule 1: Don't sweat the small stuff.
Rule 2: EVERYTHING is small stuff!! X-)
 
I'm not sure if this will help but maybe this might provide another approach. Is the second button really necessary? Could you simply create a form that passes the variable to a "processing" page that determines whether to continue or cancel. If the answer is canceled, the user is redirected to the appropriate page; if they are to continue the page displays. I would try doing this in a hidden variable so that it's transparent to the user.

hth
mark
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top