void ShowStatusCodeDetails(HttpWebResponse response)
    {
      ResultsPanel.Visible = false;

      NameValueCollection parameters = HttpUtility.ParseQueryString(response.ReadToEnd());

      ErrorInfo.Text = string.Format("Request failed, status code was: {0}, status description: {1}", response.StatusCode, response.StatusDescription);
    }