Telerik Forums
Reporting Forum
1 answer
153 views
I am working on a new Web application that uses a
ReportViewer. I am familiar with doing this with previous versions. However,
when I attempted to customize the Skin for the ReportViewer I noticed that the
images for the tool bar where missing. I copied them as well as the
reportviewer.css to the appropriate folder[s] and the page could not find the
images. I ended up having to separate the most of images into the same
directory that the ReportViewer was located in. For example root/Controls/Skins/Custom,
while the reportviewer.css and Background.gif remained in root/Skins/Custom. Also
I noticed the PrintPreview.gif did not exist because I had copied the Skins
folder from an older version. I looked everywhere for a current version of the
Q2 2014 Skins folder and could not find anything. Moreover there is no
documentation for custom skinning the new Web Forms version of the
ReportViewer.

Another problem! When I
ref the SkinPath with SkinsPath=”~/Skins” the resulting improper references are
written to the header of the Web page:

<link rel="stylesheet" type="text/css" href="//Skins/Custom/ReportViewer.css" />
<link rel="stylesheet" type="text/css" href="/Telerik.ReportViewer.axd?optype=Resource&version=8.1.14.804&name=Resources.ParametersArea.css" />
<link rel="stylesheet" type="text/css" href="/Telerik.ReportViewer.axd?optype=Resource&version=8.1.14.804&name=Resources.ReportViewerInternal.css" />
 

This is not correct
=> “//Skins/Custom….” I don't think 804&name=Resources...... is correct either.
Could someone point me to the location to find the current skins directory for Q2 2014 and maby tell me what is going on with this?

Stef
Telerik team
 answered on 02 Oct 2014
1 answer
677 views
the following link provides a basic idea of how to set up but I've had limited success translating the Visual studio Example into a telerik standalone report designer example. 
http://www.telerik.com/help/reporting/designing-reports-master-detail.html 

It seems like there are basically 3 reports involved. Master,Detail, and SubReport. I'm confused how the master report comes into play. It Seems to me that the I really should only need the Detail and SubReport. The instructions to building the master report just say to create a query. but the other two are more linked together. I've tried linking the reports using the files and adding edit parameters but nothing seems to be passed back and forth. I've attached images with my basic set up for queries. if I break the link between these reports and test without passing the parameter they both work fine.

I originally had the filter on my detail report set like in the example but when I set the filter I no longer get a list of data.

My goal is to have a list of items with some precalculated values that I can that drill into each item of the list as desired. drilling down I can then take the values passed in and filter down to a more detailed view. Unfortunately, I'm having a hard time setting up passing the report parameters from the detail to the sub report.

Any Help would be greatly appreciated!




Stef
Telerik team
 answered on 02 Oct 2014
1 answer
299 views
Hi,
I was wondering if it was possible to only scale a report horizontally to where it will fill the entire width of the container, so it will basically behave like a table with columns that have a percentage width and not a fixed one. I am trying to avoid any height changes for any of the controls on the report as well as the font size.

Currently I am generating the reports programatically using the html5 interactive mode, is there perhaps a different mode I should be using to achieve the above requirements?

Secondly, while using RenderReport like so: 
var report = new T { DataSource = data };
var instanceReportSource = new InstanceReportSource { ReportDocument = report };
System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
deviceInfo["ContentOnly"] = true;
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

reportProcessor.RenderReport(
"HTML5Interactive", instanceReportSource, deviceInfo, this.CreateStream, out documentName);

the second stream, which is the css stream, appears to close before this call returns, which means that it can no longer be used. As a workaround, I am keeping track of the temp files used for each stream and parsing those in order to get the contents. Is there perhaps a setting I am missing?

Thanks,
Stef
Telerik team
 answered on 02 Oct 2014
5 answers
476 views
Is there a way to cause a data field to display the string "None" when the field has no value?  Otherwise the field should display its appropriate value.  

I was trying to use a combination of the IIF() and ISNULL() functions like this for the field's Value property

= IIf(IsNull(Fields.AccountCode),"None", Fields.AccountCode)

but I was getting errors that said:

An error has occurred while processing TextBox 'textBox17':
Type mismatch in function arguments. Cannot find an overload of the function IsNull() that accepts arguments of type (String).


Thank you.  Any help would be most appreciated.  I am still very new to coding.
Sadie
Top achievements
Rank 1
 answered on 01 Oct 2014
2 answers
157 views
Like the attachment , is it possible to show table rows like this depends on the space right to the table.
ZHOU
Top achievements
Rank 2
 answered on 30 Sep 2014
3 answers
334 views
How to make Telerik report Parameter/Filter searching none case sensative?
If I set field TOPIC as Paramter as well as Filter, I try to find "school", get search result, I try to search 'School' returns nothing.

The "Like" filter operatior doesn't seem to work also. If I serach "schoo" I get nothing, unless I try "school".

Did I miss anything?  My dataset case sensative is set false as defaut setting.
Stef
Telerik team
 answered on 30 Sep 2014
1 answer
113 views
I need to know how to create a map manually with a dataset.  I need to create a pin for the supplier of one color and then a different color pin for the customers.  I also need to be able and create a radius of 50 miles to the supplier.  The users will select different customers so I need to be able to dynamically center the map based on the customer coordinates.
If you can please supply an example of how I could do this.

Thanks -Tim
Ivan Hristov
Telerik team
 answered on 30 Sep 2014
3 answers
545 views
I'm using a multivalue parameter and its currently giving me a little grief for a single case. Null

my query is:

select * from table where column1 in (?)

which ends up looking like
select * from table where column1 in ('a','b','c')

this is a problem with null included because it evaluates to unknown and can't continue.

with the following query this works but I'm not sure of how to set up the parameters to make this work.


select * from table where column1 in ('a','b','c') or tag is null

Can you help me understand how I can set up or format my multivalue parameter to deal with this?

Ben
Top achievements
Rank 1
 answered on 30 Sep 2014
1 answer
327 views
Hi All,

I am new to telerik reporting. I need to create a report with the parent and child tables. i.e. a main table contains a row with a panel inside it, and inside panel I have to add four more tables based on some conditions. My question is: can I set child tables visilbilty in the parent table Item DataBound event? It seems I can't, because the event is firing only once even the parent table is binding with multiple rows. Can anyone please help on this?


Thanks,
Buddha
Stef
Telerik team
 answered on 26 Sep 2014
2 answers
232 views
I feel like this should be a common request, but I cannot find any posts or examples that are exactly as I am looking for. We need a report that will group based on one column with a plus sign. Clicking the plus sign will expand and show the rows for that groups populating the rest of the columns. This is a standard set up we use in our current reporting solution (SSRS) but we are trying to switch everything to Telerik.I have gotten close to this result in Telerik, but still have the first row of additional data showing in the collapsed group row, which is incorrect.

Example of what we are looking for:



Thanks,

Jim Orchard
Hinata
Top achievements
Rank 1
 answered on 26 Sep 2014
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?