Beispiel #1
0
    private bool rowhaveTire(int spaceId)
    {
        int tirecount = Lots.gettirecountrow(spaceId);

        if (tirecount > 0)
        {
            lbldeleteError.Text     = "Tire must be transferred to a new or existing Storage Location before this Row 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);
        }
    }