protected void Page_Load(object sender, EventArgs e) { DateSelectorControl.CallbackPanelId = DailyRevenueCallbackPanel.ClientID; ProductSalesRevenue.SetData(SalesProvider.GetSalesGroupedByChannel(SalesStartDate, SalesEndDate)); if (!IsCallback) { PopulateDailySalesData(); } }
protected void Page_Load(object sender, EventArgs e) { ProductSalesRevenue.SetData(SalesProvider.GetSalesGroupedByProduct(SalesStartDate, SalesEndDate)); }