protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { TournamentStanding.LoadFullTournament(); daySelector.LoadTournamentDays(); } }
private void LoadPvtTournament() { var inGuid = this.GetRedirectParameter("pvtTournamentGUID", false); if (inGuid != null) { var guid = new Guid(inGuid.ToString()); using (var db = Global.GetConnection()) { var pvtTournament = db.Ext_PrivateTournament.Single(ptv => ptv.GUID == guid); _tournamentName = pvtTournament.Name; TournamentStanding.LoadPrivateTournamentStanding(pvtTournament); } } }
protected void daySelector_SelectedDayChanged() { //LoadStanding(); TournamentStanding.LoadFullTournament(daySelector.SelectedDay); }