Submit_click event fires only the first time the button is clicked

G

Guest

I have an ASP.NET application with half a dozen pages most of which have user
controls on them (some UC's are loaded dynamically, others are simply dragged
and dropped onto the web page)

Now, here's the problem. I have a feedback page with half a dozen text
fields. There is also a Submit button (for obvious reasons) to process the
user input. After filling the text fields with some data, when I press the
Submit button, the Submit_Click event fires and the data is written to the db
(no worries!).

However, when I navigate from the Feedback page to the Home page and then
back to the feedback page, I notice that the page_load event of the feedback
page doesn't fire. Also when I input some text in the text fields and hit
the Submit button, its click event also doesn't fire.

Does anyone know what is preventing these events to fire the second time
around?
 
K

Kevin Spencer

Possibly browser caching of the HTML document. You might want to make sure
that your Page turns off browser caching for that Page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top