private string GetFieldValue(TextContent content, string fieldName) { string value = string.Empty; if (content.ContainsKey(fieldName)) { value = content[fieldName] == null ? "" : content[fieldName].ToString(); } return value; }
private string GetFieldValue(TextContent content, string fieldName) { string value = string.Empty; if (content.ContainsKey(fieldName)) { value = content[fieldName] == null ? "" : content[fieldName].ToString(); } else { value = Page_Context.Current.PageRequestContext.AllQueryString[fieldName]; } return value; }