I have an application which creates an UpdatePanel dynamically. The UpdatePanel has some checkboxes that should result a partial postback.
There are two ways to get to the state where the UpdatePanel is created.
In the first one, the page is rendered for the very first time, i.e Page.IsPostBack == false.
In the second, the page has display some other content before the UpdatePanel is created, i.e Page.IsPostBack == true when creating the UpdatePanel.
In the first case, everything works exactly as it should, a partial postback is done when clicking a checkbox.
In the second case, however, a full postback is generated.
I have tried to set AutoPostBack = true on the checkboxes (which of course are inside the UpdatePanel), as well as manually setting __doPostBack on the onClick event. Neither works for the latter case, both work for the first case.
Any ideas?