I have a web page that I need to be able to force to refresh. I am changing the contents of a label and then calling a function, but the label does not change until after the function call. Here is the code:
protected void UpdateAvailability(object sender, GridViewCommandEventArgs e)
{
//...