В моей gridItemTemplate
, у меня есть панель обновления и флажок,UpdatePanel в Griview ItemTemplate имеет вопрос о постбэка
<ItemTemplate>
<asp:UpdatePanel runat="server" ID="upChkOption">
<ContentTemplate>
<asp:CheckBox runat="server" ID="chkOption" AutoPostBack="true"
OnCheckedChanged="chkOption_CheckChanged">
</ContentTemplate>
</asp:UpdatePanel>
</ItemTemplate>
Первый раз работает не ошибка, но после того, как postback
, я получил эту ошибку
Cannot unregister UpdatePanel with ID 'upChkOption' since it was not registered with
the ScriptManager. This might occur if the UpdatePanel was removed from the control
tree and later added again, which is not supported. Parameter name: updatePanel
Как это можно решить?
HTTP: // stackoverflow.com/questions/238915/what-causes-the-cannot-unregister-updatepanel-error –