Telerik Forums
Reporting Forum
1 answer
67 views
Good day all,
Please am using 2013 Q3 reporting to design a terminal report for students and i am facing a very big challenge and wish some one can help me.
I have being able to design the the terminal report which has parameters of ClassNo, AcademicYear, and Term.
But what i wanna do is that i have a sub report that calculates the totalscores for each students in all Subjects and rank them for the particular class.
The problem here is that when i bring the subreport into the terminal report am not able to view only the rank for the particular student but instead all the ranks of the student appear.
How can i pass a parameter to view only the rank of a particular student using the StudID.
Any idea as to how to solve it or a better way of designing terminal reports would be much appreciated please.....................
IvanY
Telerik team
 answered on 29 Nov 2013
5 answers
349 views
Hi Guys

can we use javascript in NavigateToUrlAction  like(Window.Open)?
 or any format to open a new window?


Senthil.
Peter
Telerik team
 answered on 29 Nov 2013
4 answers
858 views
Is there a builtin function of any type in the crosstabs to generate % instead of count or sum? (val / grandtotal or rowcount)?  ie =(Fields.myColumn/rowcount)

I want my report to look like this
        txt3      txt4     txt5
txt1   3%    10%    35%         6,256
txt2   10%   15%    27%         8,456
       2,123  5,999  6,590     14,712


What is the best way to handle this?
Alberto
Top achievements
Rank 1
 answered on 28 Nov 2013
2 answers
127 views
As a relatively new user to Reporting, I am finally getting the reports to do almost everything I have set out to do... with one exception. I am placing a picture box control on the report header; setting the value to a jpg in a folder; and the report renders correctly.

However, when I change the jpg and then run the application, it still renders the original jpg even though it no longer exists. I am assuming that the jpg has become a resource within the program?? I need a report that will allow the user to supply a new image (with the same name) and have that new image become the source for the picture box on the header.

How do I set the binding at runtime for this property so it will render the current image?

Thank you in advance.
Lou
Top achievements
Rank 1
 answered on 28 Nov 2013
1 answer
102 views
I have a TypeReportSource setup which works perfectly, but the parameters added to the report source don't appear in the instantiated report class, i.e. I add 10 here from the model but when I look for them in the NeedDataSource event, the collection is empty.

Newtonsoft is installed from nuget and not in the GAC.

@{
    var typeReportSource = new TypeReportSource() { TypeName = Model.ReportQualifiedAssemblyDetail };
 
    foreach (var parameter in Model.ReportData.Parameters)
    {
        typeReportSource.Parameters.Add(parameter.Name, parameter.Value);
    }
             
    @(Html.TelerikReporting().ReportViewer()
        .Id("ReportViewer")
        .ServiceUrl("/api/reporting/")
        .TemplateUrl("/ReportViewer/templates/CustomReportViewerTemplate.html")
        .ReportSource(typeReportSource)
        .ViewMode(ViewModes.PRINT_PREVIEW)
        .ScaleMode(ScaleModes.FIT_PAGE_WIDTH))
}

Is there something I need to do to get the parameters to appear in the report class, as parameters are rendered useless if I can't actually use them.

Mark
Mark
Top achievements
Rank 1
 answered on 27 Nov 2013
2 answers
155 views
I'm on windows 8.1
IE version 11.0.96600.16438
The report works, I can print it fine, but there is no height to the report, so I can't see it in IE.
 Chrome is fine.  

Very basic setup:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <telerik:ReportViewer ShowZoomSelect="True"   
            ZoomMode="PageWidth" Width="1000px" Height="500" ID="ReportViewer1" runat="server">
        </telerik:ReportViewer>
    </div>
    </form>
</body>
</html>
IvanY
Telerik team
 answered on 27 Nov 2013
8 answers
557 views
Hello,
Can someone please help me out with displaying a series of graphs on a webpage? Essentially, what I want to do is have a webpage that clients can log into to view visual statistics of a web survey. But I can't find any information about how to do this using reporting -specifically, how to get the graphs working in a web page. Is there any tutorials on this?

Tris
Ivan Hristov
Telerik team
 answered on 27 Nov 2013
7 answers
687 views

In some reports we use the background image.
Sinds the update from Q2 2012 to Q3 2013 SP1 we needed to change the way to set a backgound image.

From
report.Style.BackgroundImage.ImageData = imageData
to
report.PageSettings.BackgroundImage.ImageData = imageData

Sinds this change the backgroundimage is not fully visible anymore. The data from a detail section / subreport is now a overlayer above the backgroundimage.

How can i prevent this?

Peter
Telerik team
 answered on 27 Nov 2013
4 answers
126 views
I'm having trouble passing an integer parameter to a user defined function. I've read all of the posts and the kb article, but I can't seem to pass an interger to my function. I can pass a string, but not an integer. 

Here's what I've got:

public static string GetInt(int orgId)
{
    return "Get Int: " + orgId.ToString();
}
 
public static string GetText(string orgId)
{
    return "Get Text: " + orgId;
}

My binding expressions are:

= GetText(Parameters.ParmString.Value)

= GetInt(Parameters.ParmInt.Value)

Integer Parameter: AllowBlank: True, AllowNull: False, MultiValue: False, Type: Integer, Value: 9999

String Parameter: AllowBlank: True, AllowNull: False, MultiValue: False, Type: String, Value: Test String


Thanks. All help is appreciated.
Ivan Hristov
Telerik team
 answered on 26 Nov 2013
3 answers
167 views
I have a pie chart which can have a large number of legends, when this happens, the legends becomes several columns and seems to push the pie chart outside the plot area, thus the chart is either partly or fully invisible.

Is it possible to make the legend expand vertically, rather than horizontally?

In Visual Studio, I have the legend overflow as column (Visual Studio > Properties > Legend > ItemTextAppearance > Overflow > Column) currently. Setting the Overflow as Row doesn't help either.

Edit:
Ignore the % in the legend, I know it's incorrect.
IvanY
Telerik team
 answered on 26 Nov 2013
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?