| <telerik:RadComboBox ID="cbOrganization" Runat="server" |
| AppendDataBoundItems="True" HighlightTemplatedItems="True" |
| OnItemsRequested="cbOrganization_ItemsRequested" |
| OnSelectedIndexChanged="cbOrganization_SelectedIndexChanged" |
| AutoPostBack="True"> |
| <ItemTemplate> |
| <asp:CheckBox ID="chk" runat="server" onclick="StopPropagation(event)" |
| Text='<%# DataBinder.Eval(Container.DataItem, "fffb_organizations") %>' |
| oncheckedchanged="chk_CheckedChanged" /> |
| </ItemTemplate> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </telerik:RadComboBox> |
// dtSource.Rows.Clear();
chart.ChartTitle.TextBlock.Text =
"Report Summary";
crtSeries =
new ChartSeries("Total");
chart.AddChartSeries(crtSeries);
crtSeries.Type =
ChartSeriesType.Bar;
//crtSeries.Appearance.FillStyle.MainColor = System.Drawing.Color.Red;
//crtSeries.Appearance.FillStyle.SecondColor = System.Drawing.Color.Red;
crtSeries.Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.
StyleSeriesItemLabel.ItemLabelLocation.Auto;
crtSeries =
new ChartSeries("Pending");
chart.AddChartSeries(crtSeries);
crtSeries.Type =
ChartSeriesType.Bar;
//crtSeries.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
//crtSeries.Appearance.FillStyle.SecondColor = System.Drawing.Color.Green;
crtSeries.Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.
StyleSeriesItemLabel.ItemLabelLocation.Auto;
please resolve ASAP..
| protected void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) |
| { |
| if (e.Command == SchedulerNavigationCommand.SwitchToDayView) |
| { |
| RadScheduler1.SelectedView = SchedulerViewType.DayView; |
| RadCalendar1.SelectedDate = e.SelectedDate.Date; |
| } |
| else |
| { |
| if (e.Command == SchedulerNavigationCommand.SwitchToWeekView) |
| { |
| RadScheduler1.SelectedView = SchedulerViewType.WeekView; |
| RadCalendar1.SelectedDate = e.SelectedDate.Date; |
| } |
| else |
| { |
| if (e.Command == SchedulerNavigationCommand.SwitchToMonthView) |
| { |
| RadScheduler1.SelectedView = SchedulerViewType.MonthView; // I THINK THE PROBLEM IS THAT I NEED TO SET THE MONTHS DATE HERE, BUT AM NOT SURE IN WHAT FORMAT? |
| } |
| else |
| { |
| RadScheduler1.SelectedView = SchedulerViewType.DayView; |
| RadCalendar1.SelectedDate = e.SelectedDate.Date; |
| } |
| } |
| } |
| datetimeFilter = e.SelectedDate.Date.ToShortDateString(); // this is used elsewhere in the page |
| BindData(); // binds data elsewhere |
| } |
| Execution Error |
Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. |