protected void Btn_Delete_Click(object sender, EventArgs e)
        {
            pcInteruptFaultx.ShowOnPageLoad = true;
            ASPxButton btn = sender as ASPxButton;
            GridViewDataItemTemplateContainer container = btn.NamingContainer as GridViewDataItemTemplateContainer;
            var index   = container.VisibleIndex;
            int ValueId = int.Parse(gridFault.GetRowValues(index, "FaultRecordId").ToString());

            try
            {
                FaultRepository.DeleteFault(ValueId);
            }
            catch (Exception ex)
            {
                AppLogger.LogError(ex);
            }
            Response.Redirect(Request.RawUrl);
        }