public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { var showService = new ShowService(Ioc.GetInstance <IShowRepository>()); var shows = showService.GetShowsByYear(e.Year); rptShows.DataSource = shows; rptShows.DataBind(); }
public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { var myShowService = new MyShowService(Ioc.GetInstance <IMyShowRepository>()); var userId = new Guid(Membership.GetUser(User.Identity.Name).ProviderUserKey.ToString()); var shows = myShowService.GetShowsFromMyShowsForUser(userId, e.Year); rptShows.DataSource = shows; rptShows.DataBind(); }
public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { var showService = new ShowService(Ioc.GetInstance <IShowRepository>()); var shows = showService.GetShowsByYear(e.Year); ddlShows.Items.Clear(); ddlShows.Items.AddRange((from s in shows select new ListItem(s.GetShowName(), s.ShowId.ToString())).ToArray()); }
public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { var year = e.Year; var showService = new ShowService(Ioc.GetInstance <IShowRepository>()); var show = showService.GetShowsByYear(year); var scriptHelper = new ScriptHelper("SuccessAlert", "alertDiv", show.First().GetShowName()); Page.RegisterStartupScript(scriptHelper.ScriptName, scriptHelper.GetSuccessScript()); }
public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { BindFromYear(e.Year); }
public void yearSelector_YearSelected(object sender, PhishPond.Concrete.EventArgs.SelectYearCommandEventArgs e) { GetTicketStubs(e.Year); }