first click wont fire on dynamic load of usercontrol

  • Thread starter Thread starter roni
  • Start date Start date
R

roni

hi.
what im doing is replacing user control in dyanamic way,with
page.loadcontrol.
after i replace , when i click on the first time on button, there is no
respond.
only the second click get respond.

i guess it's somthing with the dynamic loading and the "connection" between
the button and his handler.

is there a way to fix this ?
 
found the answer.

the solution is to set Id to the control.id of the dynamic loaded control.
 

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

Back
Top