private bool lanehaveTire(int laneId) { int tirecount = Lots.gettirecountspace(laneId); if (tirecount > 0) { lbldeleteError.Text = "Tire must be transferred to a new or existing Storage Location before this Space can be Deleted"; lbldeleteError.CssClass = "alert-danger custom-absolute-alert"; lbldeleteError.Visible = true; ScriptManager.RegisterStartupScript(this, GetType(), "fadeOut", "fadeOutLong();", true); return(true); } else { return(false); } }