So about an hour ago, I asked this question. In short order, it collected some downvotes, with no explanation. So, simply put, could our lovely meta community help me understand what is wrong with this question and why it garnered such disdain?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
I can only guess at the reasons for the down votes, as none of them are my own. But this is the only thing that hits me to account for three such votes (one can be easily explained as a fluke)...
Your question has a lot of code for what is essentially a fairly simple issue. The code, in fact, makes it more difficult to answer this particular question, in my opinion (and perhaps the opinions of the down voters).
The answer is actually really simple, by comparison: Create the same controls every time the page loads, even on postback, and do it earlier in the page lifecycle than