/// <summary> /// Shows the detail page. /// </summary> /// <param name="itemKey">The item key.</param> /// <param name="itemKeyValue">The item key value.</param> public void NavigateToDetailPage(string itemKey, int itemKeyValue) { string pageGuid = AttributeValue(DetailPageAttribute.Key); Rock.Model.Page page = new PageService().Get(new Guid(pageGuid)); if (page != null) { Response.Redirect(CurrentPage.BuildUrlForDetailPage(page.Id, itemKey, itemKeyValue), false); Context.ApplicationInstance.CompleteRequest(); } }