I have a web-part that includes a simple web-form. After submitting the web-form the user will receive an apropiate succes/error message.
In the codeBehind for the Click_event of the submit button I have:
lblMessage.Text = "Your Profile Details were updated successfully";
And code in the asxc file:
<asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
The problem is that message don't disappear after page refresh F5.