Пример #1
0
    protected void PullLinkButton_Click(object sender, EventArgs e)
    {
        int count = 0;

        count = PullPrjBoard(false, true);

        if (count > 0)
        {
            InfoLabel.Text       = "Pulled/updated " + count + " projects from the PMO Project Board (<a href=\"#Details\">Details</a>):";
            ImportLogLabel.Text += "<br /><br /><div id=\"informationbar\"><h3><a name=\"Details\">Details:</a></h3><table>" + PullOutputLabel.Text + "</table></div>";

            ProjectsGridView.DataBind();
        }
        else
        {
            InfoLabel.Text = "No projects to pull or update!";
        }
    }
Пример #2
0
 private void ViewProject(Project item)
 {
     ProjectsGridView.PrepareConnectedAnimation("projectView", item, "HeroImageStartCtl");
     NavigationManager.NavigateToViewProject(item);
 }