– Check Page.IsPostBack to avoid unnecessary databinding
– Try use Repeater Control first. Viewstate in DataList, DataGrid, and DataView controls is huge sometime, although event handler is very covernient
– Prefer Transfer over Response.Redirect
– Check HttpResponse.IsClientConnected before performing a large operation

Advertisements