25 Jun
ASP.NET Dynamic controls: Twice click problem
Sometimes, you need to click twice for the dynamic control to work.
Symptoms:
1. Your dynamic controls get loaded
2. You click on the button/other control
3. The page simply refreshes and no code is executed.
4. You try to debug the “onclick” method, but no break point is hit.
5. Next time when you hit the button, everything works properly.
Solution:
After [...]
