problem with back button

  • Thread starter Ireney Berezniak
  • Start date
I

Ireney Berezniak

Hey guys,

I have a problem with events misfiring when the back button is used.

I have two controls (a drop-down list and a text field) and two buttons, one
for each of the controls, on a "quick search" type bar/control. When I
click the button that submits the drop-down list, I do some processing on
the button click event postback, and redirect to another page. That's fine.
The problem is, when I hit the browser BACK button, and then attempt to
click the button to submit the text field this time, the event for the
dropdown list button fires instead, that is, the event that I called
previously.

What gives? Any ideas?

ib.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

I like this model. Set up a panel for each step. Make all but the first
invisible. Force the user to click a button for each step, which you can get
rid of as you step down (Visible = false). You still have all elements in
the ViewState, but you divide out the user experience into logical steps.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************************************************
Think outside the box!
***************************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top