private string _getTabRef(Person per) { if (per != null) return "/Person/Edit/" + Convert.ToString(per.ID); else return null; }