public void AddToDeletedRecordIds(EstimateAdjTableControlRow rec) { if (rec.IsNewRecord) { return; } if (this.DeletedRecordIds != null && this.DeletedRecordIds.Length > 0) { this.DeletedRecordIds += ","; } this.DeletedRecordIds += "[" + rec.RecordUniqueId + "]"; }
protected virtual bool InDeletedRecordIds(EstimateAdjTableControlRow rec) { if (this.DeletedRecordIds == null || this.DeletedRecordIds.Length == 0) { return (false); } return (this.DeletedRecordIds.IndexOf("[" + rec.RecordUniqueId + "]") >= 0); }