/// <summary> /// Returns the link with added ThreadID parameter. /// </summary> private string GetLink(object data, object text, string cssClassName, ForumActionType type, int threadId) { string url = GetURL(data, type); if (url != "") { return("<a class=\"" + cssClassName + "\" href=\"" + URLHelper.AddParameterToUrl(url, "ThreadID", threadId.ToString()) + "\">" + text + "</a>"); } return(""); }
/// <summary> /// Returns the link with added ThreadID parameter. /// </summary> private string GetLink(object data, object text, string cssClassName, ForumActionType type, int threadId) { string url = GetURL(data, type); if (url != "") { return "<a class=\"" + cssClassName + "\" href=\"" + URLHelper.AddParameterToUrl(url, "ThreadID", threadId.ToString()) + "\">" + text + "</a>"; } return ""; }