Telerik Forums
Reporting Forum
3 answers
136 views
Hi there, I am getting this error when my report gets rendered:
======================================================================
Failed to create a 'X1' from the text 'INF'.' Line number '1' and line position '670'.

'INF' string cannot be converted to Length.
======================================================================
I need to know what settings on the report is causing this i.e. what function call/property setting is doing this so I can address the problem accordingly. This is happening probably because I don't have enough data points for my graph (with DateTime scale on x axis). But I need some help as to what could be causing it. Because after all, a graph with no data points should not be throwing an error anyways.

Stef
Telerik team
 answered on 11 Sep 2013
3 answers
590 views

I use the NeedDataSource Event to bind a table from the resultset of a stored procedure. In the table I have a text box(textBox7) in which sometimes there is a visible value, other times there is not. I want to test to see if there is a value in this textbox. I
I
f there is, I want to set the value of textBox6 to "Yes". If textBox7 does not have a value, make the value of TextBox6 equal to "No". I am using the ItemDataBound event of TextBox6 to try to achieve this. Right now the value of textBox6 always ends up being "Yes" . However, this is not correct. I need to know how to write a valid test for the value of TextBox7, or if I am doing something else wrong. Code is below. Any help would be greatly appreciated.

jason

        private void textBox6_ItemDataBound(object sender, System.EventArgs e)  
        {  
 
            if (textBox7.Value != null || textBox7.Value=="")  
            {  
                textBox6.Value = "Yes";  
            }  
 
            else  
            {  
 
                textBox6.Value = "No";  
            }  
        }  
    } 

 

Squall
Top achievements
Rank 1
 answered on 11 Sep 2013
1 answer
130 views
I'm looking for the scale breaks functionality in the latest telerik reporting ( http://www.telerik.com/help/reporting/featuresscalebreaks.html ) but can't seem to find it? 

Since the chart is obsolete I suppose we need to use Graph or is not all functionality present yet?



Peter
Telerik team
 answered on 11 Sep 2013
2 answers
148 views
Please see the attached image for detailed description - what I need is my report (table) and the graph to be placed next to each other.  If I place my graph in the details section the graph repeats.  I've tried using sub report but still no success.  Can you please tell me if its possible or not to have such format for the report.
Neepa
Top achievements
Rank 1
 answered on 11 Sep 2013
1 answer
303 views
I have used attached files way for displayed the dynamically column in telerik reproting but all r not working..please suggest me how can displayed dynamcially column using telerik reporting


Thanks
Randhir
Stef
Telerik team
 answered on 11 Sep 2013
1 answer
108 views
Hello Guys,
  Is it possible to create a Pie of Pie chart (like the one attached) using telerik reporting graph control?? 
  
  Any thoughts will be appreciated.

Thanks!
Stef
Telerik team
 answered on 11 Sep 2013
4 answers
353 views
Hello,

  • I have two DropDownList on my page and based on the selected values of that, I generate the report.
  • I am passing the two values as parameters.
  • Now, I want the values of these two parameters in Report Header section to be printed along with the report when report is generated. 

     Please Help me to sort out the Problem..


Thanks,
Jaspreet        

Nasko
Telerik team
 answered on 10 Sep 2013
1 answer
194 views

How do I link timeline labels or milestone indication to a line chart?

Attached a visualization from excel.

Stef
Telerik team
 answered on 09 Sep 2013
6 answers
173 views
While my program is at void OnNeedDataSource(object sender, EventArgs e)
I discover that my data is insufficient (just very few records to make it).... so how do I cancel the rendering process???.
looks like by just returning from OnNeeDataSource will not do it. I still get some empty rendering.

regards.
Wadigzon
Top achievements
Rank 1
 answered on 09 Sep 2013
6 answers
175 views
Hi, we are having 2 issues after upgrading from Telerik Reporting Q3 2012 to Q2 2013 SP1.

1) We are programmatically changing the grouping in the NeedDataSource event for a report. In the event, the Telerik.Reporting.Group now returns null when the report is run and throws a NullReferenceException when accessed. Here is the code that works ok in Q3 2012 but fails in Q2 2013 SP1.  The code compiles ok but fails on the first line with a NullReferenceException.  Should we still be able to access the Group in this way?

group1.Groupings.Clear();
 
if (intervalGroup == "HalfHour")
{
    group1.Groupings.AddRange(new Telerik.Reporting.Grouping[] {
            new Telerik.Reporting.Grouping("=dIntervalStart")
        });
    txtIntervalGroupLabel.Value = "=dIntervalStart";
    txtIntervalGroupLabel.Format = "{0:g}";
}
else
{
    group1.Groupings.AddRange(new Telerik.Reporting.Grouping[] {
           new Telerik.Reporting.Grouping("=dIntervalStart.Date")
        });
 
    txtIntervalGroupLabel.Value = "=dIntervalStart.Date";
    txtIntervalGroupLabel.Format = "{0:d}";
}


2) We also need to access the values of ReportParameters in the NeedDataSource event.  Accessing the ReportParameterCollection directly using the following syntax returns null for the parameter value after the upgrade to Q2 2013 SP1 but worked fine in Q3 2012:

string intervalGroup = ReportParameters["IntervalGroup"].Value.ToString();

We do have success accessing the parameter values by using the processing instance and then the Parameters property of that object:

Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
string intervalGroup = report.Parameters["IntervalGroup"].Value.ToString();

I just wanted to make sure that accessing the values of parameters through ReportParameters directly has been deprecated or made obsolete. Can you provide any info on this?

Thanks!
Stef
Telerik team
 answered on 09 Sep 2013
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?