Hello,
On a web form, I dynamically create some panels at run-time which all have unique ids. The first time the page is loaded, it works great. If I refresh or navigate out and come back I get the following error.
Multiple controls with the same ID 'pnlQuestionHeader12968' were found. FindControl requires that controls have unique IDs.
After doing a little bit of toying around, I noticed that if every panel added to the web form has a unique id everytime it's refreshed, the panels are added ... again. Meaning, two of the same panels on the web form.
Anybody?
josh
On a web form, I dynamically create some panels at run-time which all have unique ids. The first time the page is loaded, it works great. If I refresh or navigate out and come back I get the following error.
Multiple controls with the same ID 'pnlQuestionHeader12968' were found. FindControl requires that controls have unique IDs.
After doing a little bit of toying around, I noticed that if every panel added to the web form has a unique id everytime it's refreshed, the panels are added ... again. Meaning, two of the same panels on the web form.
Anybody?
josh