【发布时间】:2012-06-08 11:10:57
【问题描述】:
我有一个包含简单 Web 表单的 Web 部件。提交网络表单后,用户会看到感谢或错误消息。
它位于Click_event 的代码隐藏中:
lblMessage.Text = "Your Profile Details were updated successfully";
以及asxc文件中的代码:
<asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
问题是页面刷新后消息并没有消失。
【问题讨论】:
标签: sharepoint sharepoint-2010 webforms page-lifecycle