How to access the TextArea value from a content page

后端 未结 1 355
抹茶落季
抹茶落季 2021-01-28 19:15

I have a TextArea control in my content page which is inside an UpdatePanel:



        
相关标签:
1条回答
  • 2021-01-28 19:56

    Add <triggers> to your UpdatePanel.

    <asp:UpdatePanel runat="server" ...>
        <ContentTemplate>
            ...
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
    
    0 讨论(0)
提交回复
热议问题