I have a btnSave_Click() function in my code-behind. If a user clicks the save button (image) I created, it calls this function:
protected void btnSave_Click(object sender, EventArgs e)
{
this.saveForm();
txtMessages.Text = "Save Complete";
}
The saveForm() function obviously saves the form (through stored procedures). Will .NET wait until that save is complete before displaying the "Save Complete" message, or is there something else I should be doing to let the user know when the save is done.
What's the best tutorial for this type of thing (i.e. spinner and notification of when save is complete)?