Telerik Forums
Reporting Forum
3 answers
311 views
When I install a new version of Visual Studio and the Telerik menu is not there, do I have to reinstall Telerik to get it there or is there a way to copy it from the previous version of Visual Studio to the new version?  This was a side by side install of visual studio, not an upgrade.
Nasko
Telerik team
 answered on 21 Dec 2013
4 answers
306 views
Hi all,

I use db2 database with Odbc data provider and Telerik Report Designer Q3 2013.
I have a table which has a blob data of a picture. When I tried to select it, I take an error  "Unknown SQL type - -98".
I can't find any documentation or solution about it. Can you please help?

Error Screen Shot

Thanks,
Mustafa 
Stef
Telerik team
 answered on 21 Dec 2013
1 answer
129 views
Hello,
I've the following scenario, I've got a collection that's bound to a Report, the report has 4 groups and in the last GroupHeader I've a subreport

I need to group on

ID_FIELD1
ID_FIELD2
ID_FIELD3
ID_FIELD4

I've created the grouping and it seems to work...I've got problem with setting the report source (it's null in the subreport)

I've checked at NeedDataSource of subreport and

private void subReport1_NeedDataSource_1(object sender, EventArgs e)
     {
         var sub = sender as Telerik.Reporting.Processing.SubReport;
 
         var datasource = sub.Report.DataSource; //here data are splitted correctly
        
     }
 in the subreport I always have null

can you please provide me how to fetch the data in the inner source?
Thanks


Nasko
Telerik team
 answered on 21 Dec 2013
3 answers
143 views
Hi,

I have a few reports that require me to call my own assemblies to format some data. For example, I have an extension Method that translates an enumeration to some resource string:

   = MyClass.GetEnumResource(Fields.ItemStatus)

Aditionally, I also need to make comparisons with my own types for formatting purposes. Something like:

 = IIF(Fields.OrderStatus = MyEnumeration.Refused, " n/a", Fields.OrderPrice)

Problem is, any reference to an external assembly or type generates the dreaded "The expression contains object 'xxxx' that is not defined in the current context". I've also tried to Assembly.Load("MyAssembly") in the report construtor, but to no avail...

I'm aware that there is a solution for the standalone report designer, which involves configuring it's XML config file, but I'm running my reports with Report processor. Something like this:

MyReport report = new MyReport ();
report.DataSource = myModelData;
 
ReportProcessor reportProcessor = new ReportProcessor();
InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
 
instanceReportSource.ReportDocument = report ;
 
RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
 
return result.DocumentBytes;

Is it possible to tell the ReportProcessor where to find my assemblies?

Thanks!
Stef
Telerik team
 answered on 20 Dec 2013
3 answers
101 views
Hi guys,
I've got a report, with the Table items inside the section. I use this to show child data.
I use filter expressions on the Tables to only show the relevant child data.

I've having performance issues, and when I trace the SQL I can see that the SqlDataSource is being repopulated for every master record.
Surely this is not correct? But I'm not sure the correct way to configure this?

See screenshot showing how one of my Table objects is configured.

Thanks,

Pat.
Stef
Telerik team
 answered on 20 Dec 2013
3 answers
198 views
Hello,
I have a need to be able to parse the list of Report Parameters from a TRDX report file. Can I do this through the Telerik Reporting API, or should I simply load and parse the TRDX as an XML document?

Thanks!
Kyle Smith
Top achievements
Rank 1
 answered on 20 Dec 2013
6 answers
178 views
Hello,

I'm having an error when trying to export a report to Excel. The error is:

"Attempting  to get range {7,73}{11,1}. Merged=False, Parent=Sheet1[0], that intersects with an already merged range."

What is the meaning of this? Export to other format work fine.

Thank you for your help.
LM
Marek
Top achievements
Rank 1
 answered on 20 Dec 2013
12 answers
563 views
I am just getting started with Telerik Reporting.  I installed the Q2 2012 version and added a report to my project.  First,the Report Wizard did not start when I added the report.  I had to start it from the Telerik |Reporting menu.

Second, I attempted to add a DataSource for the report and got to the "Create New Data Source" dialog box.  That dialog instructs the user to, "Select the desired data source type from the list below then specify a unique nam for the new data source component to create."  I have attached a screen shot of that dialog box to this post.

The problem is that no data source types are listed in this dialog box.  Any ideas?
David
Top achievements
Rank 1
 answered on 19 Dec 2013
1 answer
181 views
This is more of an FYI learned with VS 2013 and Reporting Q3 2013. 

When the web.config has the debug flag set to true, Reporting wouldn't render in the browser because VS is adding this into the pages which breaks the Telerik js parser. 

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
    {"appName":"Chrome"}
</script>
<script type="text/javascript" src="http://localhost:59901/dba793e767684166b11416be8550cb2a/browserLink" async="async"></script>
<!-- End Browser Link -->

This section of the ReportViewer-7.2.13.1016.JS code that it's hitting trying to load and parse the report page in an MVC webapp.
 
beginGetPage: function(pageNo) {
                   throwIfNotInitialized();
                   $.when(loadAsync()).then(function() {
                       onBeginLoadPage(pageNo);
                       return getPageAsync(pageNo);
                   }).done(function(info) {
                       onPageLoadComplete(pageNo, info);
                   }).fail(function(xhr, status, error) {
                       onError(formatXhrError(xhr, status, error));

The error message is "Unexpected Token" from the VS injected block

To fix this you have to turn off vs:EnableBrowserLink in the Web.config 
<add key="vs:EnableBrowserLink" value="false"/>
http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

I see this was also reported as a problem with the Rad controls too. 
http://www.telerik.com/community/forums/aspnet-ajax/grid/browserlink-in-visual-studio-2013-breaks-rendering.aspx 

I'm not relying on VS Browser Link, but just wanted to put this information out there for other's that have a problem.

Stef
Telerik team
 answered on 19 Dec 2013
4 answers
902 views
Hi, 

We are using the new PIE Graph (polar), and we are wondering if there is a property that helps control the sort order of the Legend items? 
If you see the attached image you can see how they aren't sorted by Name of the item, but are actually sorted by the values they hold behind them. I can see how that might be the default because you want to a PIE graph to be ordered by low to high, but we want the legend to be alpha sorted. The other hope with this is we can control which color is tied to which item for constancy of reporting.

In the old Charts you would have to build the Legend manually to get this, but is there some other way to do this with Graphs?

Thank you

NerdBrick
Top achievements
Rank 1
 answered on 19 Dec 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?