Not logged in - Login

Redirecting from within callback raised from ASPxGridView

A fuller discussion of this topic can be found here: http://community.devexpr...rums/p/57423/291566.aspx

In brief, it can be handled as follows:

protected void Page_Load(object sender, EventArgs e) 
{
   if(this.IsCallback) 
   {
      //ASPxWebControl.RedirectOnCallback("1.asp");
      this.Response.RedirectLocation = "1.aspx";
      this.Response.End();

      // alternative to above:
      DevExpress.Web.ASPxClasses.ASPxWebControl.RedirectOnCallback(TARGET_URL);
   }
}