I am working on a project where quite a few controls are programmatically added to a placeholder. I am currently sending the placeholder and a few variables to a function in the app_code folder in an effort to keep the code behind page as clean as possible.
I found a problem, though. If I want to create a button the event handler needs to call a function from the code behind page.
Since I found this issue I have questioned if my original design is poor. It works great for most scenarios but doesn't seem to be perfect.
Any suggestions?
...
Go to the complete details ...