Telerik Forums
Reporting Forum
2 answers
653 views
Hello All,

I am using Telerik Reporting Control.
I want to  make all Reporting Filters as optional.

The filter can be DateTime / String / Bool / Integer or anything else.
After browsing few of the forums i Set AllowBlank and AllowNull properties to True for all filters.
(I know the AllowBlank = True is only valid in case of String Type.. But still i Set it for all types for testing)

But still it is not giving the desired results.

What i want exactly is to show All Report Data by default if no filter value has been assigned.
It works fine if there is only String type filters are provided. But if i add DateTime Filter (DateTime or Nullable DateTime)
it won't show the results..
Is it possible to show unfiltered Data on report ???

I also Set the Default Value to Null but still no results.

Can anybody help..

Thanks in Advance
Kailash
Top achievements
Rank 1
 answered on 19 Apr 2012
1 answer
130 views
Im trying to adjust the labels on the legend of a pie chart and want to make sure i have the need data source event set up correctly, does it look correct below? sorry about the code format below i dont know how to condense of format it as asked.

namespace

 

 

Reports

 

{

 

 

using System;

 

 

 

using System.ComponentModel;

 

 

 

using System.Drawing;

 

 

 

using System.Windows.Forms;

 

 

 

using Telerik.Reporting;

 

 

 

using Telerik.Reporting.Drawing;

 

 

 

using Telerik.Reporting.Charting;

 

 

 

/// <summary>

 

 

 

/// Summary description for DeliveryStatus___Client.

 

 

 

/// </summary>

 

 

 

public partial class DeliveryStatus___Client : Telerik.Reporting.Report

 

{

 

 

public DeliveryStatus___Client()

 

{

 

 

//

 

 

 

// Required for telerik Reporting designer support

 

 

 

//

 

InitializeComponent();

}

 

 

//

 

 

 

// TODO: Add any constructor code after InitializeComponent call

 

 

 

//

 

 

 

 

private void chart1_NeedDataSource(object sender, System.EventArgs e)

 

{

Telerik.Reporting.Processing.

 

Chart chart = sender as Telerik.Reporting.Processing.Chart;

 

chart.Series.Clear();

 

 

ChartSeries s = new ChartSeries();

 

s.Type =

 

ChartSeriesType.Pie;

 

s.Appearance.LegendDisplayMode =

 

ChartSeriesLegendDisplayMode.ItemLabels;

 

chart.Series.Add(s);

}

}

}

Steve
Telerik team
 answered on 19 Apr 2012
3 answers
448 views
Related to: http://www.telerik.com/community/forums/reporting/telerik-reporting/getting-uncaught-syntaxerror-unexpected-token-when-using-asp-net-mvc3.aspx 

I'm also seeing the same issue, except it's stopping our users from printing reports. When they click the print icon, they'll see the message "Unable to perform the Print operation". The only way for them to print, is to export to PDF and then print from that app.

I notice that you said a fix was available, but that it's not available - any suggestions?

-- Kori
Steve
Telerik team
 answered on 19 Apr 2012
3 answers
123 views

Hello, Im new to coding in general and am trying to label the columns in a chart.  I have the chart displaying the data i want, but all the labels are 1,2,3, etc.  for each column. I tried using the code below but without much coding experience im not sure how to use it. I think i need something before it to make it work but im not sure.  Im also not sure where in the code this should go, does it go in the general .cs file for Telerik Reporting Item or does it go in the "details" section where the chart is located? if i can provide any more info please ask.

Chart.PlotArea.XAxis.AutoScale = false;
Chart.PlotArea.XAxis.AddRange(1, 7, 1); 
Chart.PlotArea.XAxis[0].TextBlock.Text = "Mon";
Chart.PlotArea.XAxis[1].TextBlock.Text = "Tue";
Chart.PlotArea.XAxis[2].TextBlock.Text = "Wed";
Chart.PlotArea.XAxis[3].TextBlock.Text = "Thu";
Chart.PlotArea.XAxis[4].TextBlock.Text = "Fri";
Chart.PlotArea.XAxis[5].TextBlock.Text = "Sat";
Chart.PlotArea.XAxis[6].TextBlock.Text = "Sun";
Steve
Telerik team
 answered on 19 Apr 2012
2 answers
154 views
Hi,

I'm facing a little problem. I've updated my telerik's DLLs today (ASP.NET AJAX & Reporting).
Everything is working but the reporting part. Actually when i run my project, the ReportViewer works fine and i can see it beeing filled, but in visual studio i still have a warning on my tag : "Element 'ReportViewer' is a not known element.".
What's wrong with VS2010?
I let you see samples of my web.config :
<system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
        <add assembly="Telerik.Reporting, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
      </assemblies>
    </compilation>
 
...
 
<pages>
    <controls>
      <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      <add tagPrefix="tlkReporting" namespace="Telerik.ReportViewer.WebForms" assembly="Telerik.ReportViewer.WebForms"/>
    </controls>
And there is my .aspx tag :
<tlkReporting:ReportViewer ID="ReportViewer1" runat="server" Height="500px" Width="100%" Visible="False" />
I don't understand what's going on :/
If anyone could help me it would be great, thanks in advance
Julien
Top achievements
Rank 1
 answered on 18 Apr 2012
1 answer
75 views
Im working with a bar chart in VS 2010 with Telerik reporting Q3 2011, Is it possible to reposition the Datagroupcolumn to appear outside the chart area? or can it be moved to the corner of the chart somewhere? if neither can be done is there a way to make it not appear and assign the labels given to each bar of data? Ive attached a screenshot to show what i am talking about.
Steve
Telerik team
 answered on 18 Apr 2012
3 answers
146 views

 

When publishing to the live server the telerik reports do not have Excel and PDF exporting options available in the web report viewer. Works fine on testing server.

I am using the latest demo version.

How can this be fixed?

Steve
Telerik team
 answered on 18 Apr 2012
4 answers
356 views
Create an IEnumerable<incid> (linq to sql) and put in this.DataSource 
bound to the consistency of the columns.
In the same collection of data is displayed then no.
Moreover, this same collection in DataGrid WPF 3.5 displays correctly. 

    public class incid
    {
        public string ID { get; set; }
        public string pubDate { get; set; }
        public string directoryIncidentType { get; set; }
        public string directoryReactionState { get; set; }
        public string strAddress { get; set; }
        public string strDDS { set; get; }
    }

http://savepic.net/2625578.htm  (screenshot)

Trace.Write:
An exception has occurred while processing '' item:
Telerik.Reporting.Expressions.InvalidExpressionException: The expression contains object 'ex_ID' that is not defined in the current context.
   в Telerik.Reporting.Processing.Expressions.FieldsNode.Eval(Object data, Object context)
   в Telerik.Reporting.Processing.ReportItemBase.Evaluate(Object value, Object data)
   в Telerik.Reporting.Processing.ReportItemBase.Evaluate(Object value)
   в Telerik.Reporting.Processing.TextBox.ProcessItem()
   в Telerik.Reporting.Processing.ReportItemBase.Process(DataMember data)

all fields are filled with collections.
using the latest version of the demo. 


trase.write
pavel
Top achievements
Rank 1
 answered on 18 Apr 2012
1 answer
149 views

Hi,

I am using Telerik Reporting Q2 2011 with Silverlight 4. In NeedDataSource event I am hiding a field at run-time if the data source returns a “Null” value for it. It works fine and report viewer does not show that field. However, when I export the report in any format then the exported file contains this field.

I also tried to do it in other way and set visible = false at design time for the field and set Visible = true at run-time, if data source have value for it. It displays the field successfully in the report viewer but does not show it at all in the exported file.

Please suggest a possible solution how I can overcome this problem.

Thanks!

Adil

Steve
Telerik team
 answered on 18 Apr 2012
4 answers
592 views
Hi there
  Can somebody please tel me how i can capture the Preview button click event. This will help me to solve lots of issues i am facing in my report development.
1. A report parameter that value should be sent to the business layer and to repopulate the report datasource based on that.
2. Is there anyway to turn off caching of report so that it always look for the code to bind datasource. 


Steve
Telerik team
 answered on 18 Apr 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?