Link to home
Start Free TrialLog in
Avatar of weimha
weimhaFlag for United States of America

asked on

PostBackURL on button click

I'm sure this is a simple question, but I have an ASP page that has a button on it.  When the button is clicked I do some logic to determine which page to go to next.  I set the buttons PostBackURL to that page.  On the first button click it just redisplays the same page.  On the second button click it goes to the right page.  What am I missing to make it go to the right page on the first button click?
SOLUTION
Avatar of dweppenaar
dweppenaar
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of weimha

ASKER

When I use that method, the program blows up when I'm using PreviousPage to get values from the first page.
What do you mean by "blows up", can you give me the exception that you are getting, if any? Or any additional information would help...

Regards.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good stuff, I'm glad you got it working. If theres any other problems, do not hesitate to ask.

Regards