protected void ListForApprovalGrid_CustomButtonCallback(object sender, DevExpress.Web.ASPxGridViewCustomButtonCallbackEventArgs e)
 {
     if (e.ButtonID == "ForApprovalGridEdit")
     {
         string doc_number = ListForApprovalGrid.GetRowValues(ListForApprovalGrid.FocusedRowIndex, "DocNumber").ToString();
         string work_line  = ListForApprovalGrid.GetRowValues(ListForApprovalGrid.FocusedRowIndex, "WorkLine").ToString();
         Session["mrp_docNum"]  = doc_number;
         Session["mrp_wrkLine"] = work_line;
         //ASPxWebControl.RedirectOnCallback("mrp_inventoryanalyst_forapproval.aspx?DocNum=" + doc_number.ToString() + "&WrkFlwLn=" + work_line.ToString());
         ASPxWebControl.RedirectOnCallback("mrp_inventanalyst.aspx?DocNum=" + doc_number.ToString() + "&WrkFlwLn=" + work_line.ToString());
     }
 }
 private void BindListApproval()
 {
     ListForApprovalGrid.DataSource   = MRPClass.MRP_ListforDeliberation();
     ListForApprovalGrid.KeyFieldName = "PK";
     ListForApprovalGrid.DataBind();
 }