protected override void Render(HtmlTextWriter writer) { try { writer.Write(_doc.SelectSingleNode("/hapStrings/" + StringPath.ToLower()).InnerText); } catch (Exception e) { throw new ArgumentOutOfRangeException("The string " + StringPath + " cannot be found", e); } if (!string.IsNullOrEmpty(StringPath2)) { writer.Write(Seperator); try { writer.Write(_doc.SelectSingleNode("/hapStrings/" + StringPath2.ToLower()).InnerText); } catch (Exception e) { throw new ArgumentOutOfRangeException("The string " + StringPath2 + " cannot be found", e); } } }