private void ProjectNotesSetUp() { int PageId = ProjectNotesData.GetPageId(Path.GetFileName(Request.PhysicalPath)); //if (ProjectNotesData.IsNotesExist(PageId)) // btnProjectNotes1.ImageUrl = "~/Images/currentpagenotes.png"; ifProjectNotes.Src = "ProjectNotes.aspx?ProjectId=" + Request.QueryString["ProjectId"] + "&PageId=" + PageId; }
private void ProjectNotesSetUp() { int PageId = ProjectNotesData.GetPageId(Path.GetFileName(Request.PhysicalPath)); if (Request.QueryString["ProjectId"] != null) { hfProjectId.Value = Request.QueryString["ProjectId"]; ifProjectNotes.Src = "../ProjectNotes.aspx?ProjectId=" + Request.QueryString["ProjectId"] + "&PageId=" + PageId; if (ProjectNotesData.IsNotesExist(PageId, DataUtils.GetInt(hfProjectId.Value))) { btnProjectNotes.ImageUrl = "~/Images/currentpagenotes.png"; } } }