protected void gvManufacturers_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     try
     {
         if (e.CommandName == "EditManufacturer")
         {
             hfCurrentID.Value = e.CommandArgument.ToString();
             ucEditManufacturer.Popup(e.CommandArgument.ToString());
         }
         else if (e.CommandName == "ToggleManufacturer")
         {
             hfCurrentID.Value = e.CommandArgument.ToString();
             SettingsDAL settingsDAL = new SettingsDAL();
             if (((LinkButton)e.CommandSource).Text == "Inactive")
             {
                 settingsDAL.ToggleManufacturer(int.Parse(e.CommandArgument.ToString()), true);
             }
             else
             {
                 settingsDAL.ToggleManufacturer(int.Parse(e.CommandArgument.ToString()), false);
             }
             BindManufacturers();
         }
     }
     catch (Exception ex)
     {
         string strErrCode = ERROR_DISPLAY_MESSAGE + "," + (new Error_Log()).LogErrorIntoDB(ex, "gvManufacturers_RowCommand");
         lblErr.Text = strErrCode;
     }
 }