chart1.DataSource = linqToSQL.TableItems.GroupBy(g => g.ColumnInt)
.Select(s => new Item { count = s.Count(), name = s.First().Name })
.OrderByDescending(o => o.count).Take(10);class Item
{ public int count { get; set; } public string name { get; set; }}Here is some of the code I use to make the connecting-line appear but nothing helps:
serie.Appearance.LabelAppearance.Visible = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Visible = true;
serie.Appearance.ShowLabels = true;
serie.Appearance.LabelAppearance.LabelConnectorStyle.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid;
serie.Appearance.LabelAppearance.LabelConnectorStyle.Width = 2;
Hi Telerik,
I've upgraded Q1-2012 from Q3-2011.
We prepare the program tested on the Web, ReportViewer gives an error message.
ReportViewer program is working as a local mode.
We have made many report dll installation.
But ReportViewer program does not work on the Web.
How we can solve.
I'm sending Web.config and error message.
Regards,
Mehmet
IEnumerator itemEnumerator = this.pnlTotals.Items.GetEnumerator(); while (itemEnumerator.MoveNext()) { if (itemEnumerator.Current.GetType() == typeof(Telerik.Reporting.TextBox)) { Telerik.Reporting.TextBox textBox = (Telerik.Reporting.TextBox)itemEnumerator.Current; // value contains an expression, vs. literal text? if (textBox.Value.StartsWith("=")) textBox.Value = "0"; } } // bind the data table to the .DataSource property of the report (sender as Telerik.Reporting.Processing.Report).DataSource = this.dtSource; // if the query didn't return any rows, hide the groups and the detail section if (this.dtSource.Rows.Count == 0) { this.gL_ACCT_CODEGroup.Visible = false; this.dEPT_CODE_NAMEGroup.Visible = false; this.detail.Visible = false; IEnumerator itemEnumerator = this.pnlTotals.Items.GetEnumerator(); while (itemEnumerator.MoveNext()) { if (itemEnumerator.Current.GetType() == typeof(Telerik.Reporting.TextBox)) { Telerik.Reporting.TextBox textBox = (Telerik.Reporting.TextBox)itemEnumerator.Current; // value contains an expression, vs. literal text? if (textBox.Value.StartsWith("=")) textBox.Value = "0"; } } }