I have a typical RadAjaxLoadingPanel
that fires when a button click method calls a Response.Redirect
. The redirect page has several expensive stored procedures in the OnLoad
method. This seems to lock up the UI, and the circle freezes until those stored procedures finish. Should those stored procedures remain in the OnLoad
method? Is there a better implementation when loading a Response.Redirect
that prevents a UI lockup?
protected void Button_Click(object sender, EventArgs e)
{
Response.Redirect("~/page.aspx", false);
}