Telerik Forums
Reporting Forum
3 answers
549 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
126 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
123 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
295 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
105 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
345 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
191 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
143 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
147 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
1 answer
60 views
We have a VB.NET installation of reports that use the Telerik Report Viewer.  They were designed to be opened and viewed in Safari on iPads and have so far been a great boon to our field team's productivity.  But all the BETA tests we have done using Apples new iOS7 have produced the same results: which is none.  We are able to view each report's individual page and can interact with the parameter drop downs at the top of the viewer, but when the report is supposed to render, nothing is produced.  It doesn't even appear as though it has processed any of the parameters (no processing animation).  The new iOS is set to be released by Apple on Sept. 10.  We are putting out a communication to our users that they must not upgrade until we find a solution, but there is little hope that everyone will be compliant on this.

Anyone else have this issue, and does anyone know a work around, or what the problem actually is?

Thanks,
Danny
Stef
Telerik team
 answered on 09 Sep 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?