Telerik Forums
Reporting Forum
5 answers
536 views
Based on one field in report i need to make visible/caluculate the values of other dependent textboxes.
So for this what i have done is Created a custome function.
eg: public static string Test(int idPt)
{
//Logic
if(idPdt==1)
{
textbox2.Value="test2";
textbox2.Visible=true;
}
if(idPdt==2)
{
textbox3.Value="test3";
textbox3.Visible=true;
}
else
{
textbox2.Visible=false;
textbox2.Visible=false;
}
}
But i am not able to access any of the report items in this function. when i remove static modifier for the method then all the items are accessible.

How to acheive this in Telerik Reporting?

Nasko
Telerik team
 answered on 02 Jun 2015
6 answers
387 views
Hi,

I just installed version 5.3.12.119 in my windows 7 machine. Now when I open reports which have a sqldatasource i get this error in the designer

"Object of type 'Telerik.Reporting.SqlDataSourceParameterCollection' cannot be converted to type 'Telerik.Reporting.SqlDataSourceParameterCollection'. "

Not sure how to fix this. I have restarted my machine and tried as well. Need help on this urgently!

Thanks.
Fridli Jacober
Top achievements
Rank 1
 answered on 02 Jun 2015
1 answer
162 views

Hi

I have text value and want to convert this into Small Caps format. Does this supported or not? I do find the functions ToLower and ToUpper but didn't find any solution for Small Caps.

 

Thanks in advance for your help and support.

Regards,

Umar

Stef
Telerik team
 answered on 02 Jun 2015
15 answers
671 views
I'm trying to deploy my ASP.NET MVC app that uses Telerik Reporting.  When trying to run a report on the test server I get an error:

Internal Server Error:
An error has occurred.
Access to the path '8.2.14.1027_ClientsCacheLock' is denied.

Can you provide direction on solving this problem?

Thank you
Timothy William
Top achievements
Rank 1
 answered on 01 Jun 2015
4 answers
455 views

I have a REST services console application which seems to be running successfully, in that I followed the instructions here: 

http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-self-hosting.html

and I'm able to serve up the document formats when I use IE to browse to:

http://localhost:8080/api/reports/formats

I have a Windows Form client in which I want to use an HTML5 report viewer, hosted in a System.Windows.Forms.WebBrowser.  

I used the Telerik wizard to add an HTML5 Report Viewer, which I assume added all the necessary references, and created a sample report, and the necessary report viewer in a new html file.  I am setting the url of the WebBrowser to the file location of my new report viewer html file, but I keep getting the following when I load the page:

Error loading the report viewer's templates.

I edited the default javascript to use the following:

 

<script type="text/javascript">
    $(document).ready(function () {
        $("#reportViewer1")
            .telerik_ReportViewer({
                serviceUrl: "http://localhost:8080/api/reports",
                templateUrl: "file://C:\Temp\Code\Reports\bin\Debug\ReportViewer\templates\telerikReportViewerTemplate-9.0.15.324.html",
                reportSource: {
                    report: "file://C:\Temp\Code\Reports\bin\Debug\Reports\SampleReport.trdx",
                    parameters: {
                        Date: new Date(),
                    }
                },
                viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
                scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
                scale: 1.0,
                ready: function () {
                    //this.refreshReport();
                },
            });
    });
</script>

Those two files exist at runtime (the template and the trdx file).

This is just proof-of-concept right now, so obviously the moving pieces are not all set.  My thought is that the wizard is designed to set up a Web solution, not a Windows Forms solution, so I'm not set up correctly.

So can anyone suggest anything that might be causing that error?

Thanks,

Eric.

Stef
Telerik team
 answered on 01 Jun 2015
4 answers
224 views

Hi everyone ! 

I currently have a main report makes navigation in another report at the click of a button.
I need to recover the ReportSource raports towards which I navige . Unfortunately my ReportSource does not change and remains one of my main report. How to solve this problem?

Best regards,

Julien ZARNIAK

Julien
Top achievements
Rank 1
 answered on 01 Jun 2015
1 answer
989 views
I have one group header section and detail section like this :



    Name1 Name2 Name3 Name4 Name5// Group Header Section
    
    GroupBy // Group Header Section
    
     a      2    3     2       9 -|
     a      4    3     3       4 -|    // Detail Section
     a      6    2     4       3 -|
     a      7    1     5       3 -|

These four rows is being produced by GroupBy criteria. So far it is working. 
Now I want to make one row of these four rows as Name1 is identical and other columns will be average like in Name2 average would be like `2+4+6+7/4` and same for other columns and one row will look like 

`a 4.75 2.25 3.5 4.75 `
Nasko
Telerik team
 answered on 29 May 2015
1 answer
163 views

 

Hello

 

I can't Detail Selection textbox field bind from database.

 it's possible that Page Header or other section(footer etc..) bind from database.

please see the attach files.

Nasko
Telerik team
 answered on 29 May 2015
1 answer
150 views

I am doing a report that using PictureBox to get pictures from database.

I set the property Sizing to ScaleProportional, however some small-size picture will be enlarged to fit the container size.

Since the picture is in binary format and the pictures size are different, I can't set the exact size for the PictureBox container.

How can I keep the original size for those small-size pictures, and fit those large pictures to the container size with proportional?

Thanks

Nasko
Telerik team
 answered on 29 May 2015
1 answer
113 views

Hello Guys, 

I am using Q1 2015 licensed version of Telerik Reporting. It works great for generating HTML/PDF reports.

One issue I am facing while generating HTML5 report through Report processor's render report method is sections overlapping.

In the attachments, I have provided one image which occurs when data is less and all the sections fitted properly but when the data is more then one section overlaps with another. As you can observe, this issue occurs when there is a page break so can you tell me the properties/configurations which i need to take care for this behavior. and i have used object data source binding for data so number of data may vary but i want the report sections to fit properly.

so please provide some way around to solve this.

Thanks in advance :)

Nirav

Nasko
Telerik team
 answered on 28 May 2015
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?