how to create static event handler

  • Thread starter samuelberthelot
  • Start date
S

samuelberthelot

Hi,
I add an event handler to my dropdownlist in the Load event of my page.
Note that the dropdownlists are created at run-time and are part of a
datagrid.
It works fine the first time, then I'm redirected to another page, I
browse back using the back button of the browser, the page is not
reloaded as it using cache, and therefore selecting another value in my
dropdown has no effect and does not trigger the event as it was not
reattached to the dropdown.

How can I make sure the event will always be there ?
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top