void ShowOAuthProblemDetails(WebResponse response) { ResultsPanel.Visible = false; NameValueCollection parameters = HttpUtility.ParseQueryString(response.ReadToEnd()); ErrorInfo.Text = "Access was denied to resource.<br/><br/>"; foreach (string key in parameters.Keys) ErrorInfo.Text += key + " => " + parameters[key] + "<br/>"; }