/// <summary> /// Gets the table of search results /// </summary> /// <returns></returns> public HtmlGenericControl GetCallbackResult() { ProjectManagementDa da = new ProjectManagementDa(); // Determine if need to filter by user id DataView projectsList = new DataView(); if (FilterByUser) { string uName = new Caisis.Security.SecurityController().GetUserName(); UserDa uda = new UserDa(); int uId = uda.GetUserId(uName); projectsList = da.ProjectMgmtSearch(callbackSearchValue, uId).DefaultView; } else { projectsList = da.ProjectMgmtSearch(callbackSearchValue).DefaultView; } BindProjectList(projectsList); return(ContentTableHolder); }