partial void DeleteAchievement(Achievement instance);
partial void InsertAchievement(Achievement instance);
partial void UpdateAchievement(Achievement instance);
protected void repAchievements_ItemBound(object sender, RepeaterItemEventArgs args) { var item = args.Item; if (item != null) { if (item.ItemType == ListItemType.AlternatingItem || item.ItemType == ListItemType.Item) { AchievementsWithPlayers awp = (AchievementsWithPlayers)item.DataItem; if (awp.Players != null && awp.Players.Count > 0) { currentAchievement = awp.Achievement; PlaceHolder phNoResult = (PlaceHolder)item.FindControl("phNoResults"); if (phNoResult != null) { phNoResult.Visible = false; } Repeater repPlayers = (Repeater)item.FindControl("repPlayers"); if (repPlayers != null) { repPlayers.DataSource = awp.Players; repPlayers.DataBind(); } } else { PlaceHolder phPlayers = (PlaceHolder)item.FindControl("phPlayers"); if (phPlayers != null) { phPlayers.Visible = false; } } } } }