protected override void OnInit(EventArgs e) { BindLists(); BucketOfNeed.ConfigureBucket("Need", 1, GetNeedList, GetAssociatedNeeds, SaveByProject); BucketOfProject.ConfigureBucket("Project", 1, GetProjectList, GetAssociatedProjects, SaveByNeed); }
protected override void OnInit(EventArgs e) { BindLists(); BucketOfNeed.ConfigureBucket("Need", 1, GetNeedList, GetAssociatedNeeds, SaveByFeature); BucketOfFeature.ConfigureBucket("Feature", 1, GetFeatureList, GetAssociatedFeatures, SaveByNeed); }
protected void drpSelection_SelectedIndexChanged(object sender, EventArgs e) { if (drpSelection.SelectedValue == "ByProject") { dynProject.Visible = true; dynNeed.Visible = false; BucketOfNeed.ReloadBucketList(); } else if (drpSelection.SelectedValue == "ByNeed") { dynProject.Visible = false; dynNeed.Visible = true; BucketOfProject.ReloadBucketList(); } }
protected void drpProject_SelectedIndexChanged(object sender, EventArgs e) { BucketOfNeed.ReloadBucketList(); }