Click to See Complete Forum and Search --> : HELP PLEASE Buttons: On_Click command and hyperlink.


scottie_uk
April 11th, 2003, 06:57 PM
I have a form that the user fills in. When the submit command button is clicked it places the details in a data base, this works fine.

I also want to make this button load in a another ASPX page with a thankyou message or something. I cannot get the button to hyperlink. The browser looks as if it wants to when the mouse is over the button, BUT nothing happens exept the submit function. I NEED IT TO LINK AT THE SAME TIME.

I have tried putting it within an anchor, this does not help as the button does not link, but a small ling generated by the anchor does.


If what I want to do is so darn simple, why is it not documnted in any BOOK I have read.

scottie.uk

PLEASE HELP!!!!!
:(

Sonu Kapoor
April 12th, 2003, 05:28 AM
hm.....I am not sure if I understand you correct. But if you want to redirect your page to an another after the storing process is done, then you just need to put this line of code after your store code:

Response.Redirect("www.codeguru.com");

Hope this helps! If not let me know and we will find an another way.

Sonu