Telerik Forums
Reporting Forum
1 answer
92 views

 

 

I am using a cubedatasource and trying to format the data labels, but the format doesn't seem to take effect.  I am adding the series in the codebehind:

 

ChartSeries series = new ChartSeries("Avg Hours/Job", ChartSeriesType.Bar);
series.DataYColumn = "JobAvg";
series.DataLabelsColumn = "JobAvg";
series.DefaultLabelValue = "#Y{F}";
cht.Series.Add(series);

I am still getting values with 8 decimal places.  Anyone know why?

Ves
Telerik team
 answered on 20 Dec 2010
2 answers
70 views
I've been tasked with creating 1 ASP.Net page, using Visual Studio 2008 and Telerik Reports Ver. Q1 2008.  On this page I have one dropdown control that lists all the views currently available in the database (SQL Server 2005).  I've created a table in the database that holds the "real" view name, along with a "pretty" name for the clients to choose from.  My goal is to allow the user to select from this dropdown list a view, and then once selected, the results will display below.  I've been told that using a <telerik:RadGrid> would work, but I do not have this as an option in my Visual Studio Toolbox.  I'm quite new to Telerik, but I know the basics.  Any quick help would be greatly appreciated as I've been given until "Friday" to get this functioning (2 days).

Thanks ahead of time!
Terri-Lynn
Vasil
Telerik team
 answered on 20 Dec 2010
3 answers
158 views
Hi,
It would be of great help, if anyone shares the code for generating a report using the MVVM pattern in WPF without the use of the in-built wizard.
The report would be added manually.

Thanks a lot.
Steve
Telerik team
 answered on 20 Dec 2010
3 answers
222 views
I'm using the "Naviage to URL" action in a report.  When the report is rendered as html in the asp.net ReportViewer, when i click on the link, the report opens a new window.  I need it to just navigate away from the report within the same window.  Can this be done?

using Telerik Reporting 2010 Q3
using Asp.Net ReportViewer.
Steve
Telerik team
 answered on 20 Dec 2010
1 answer
294 views
I want to display value of textbox like treeview in table report item. I am using one database field to set the left padding. But it does not work. If I use html preview it shows as expected but not in normal preview / silverlight application.

This is what i am doing:

public static Telerik.Reporting.Drawing.Unit GetLeftPadding(double lvl)
        {
            if (lvl <= 1)
                return Telerik.Reporting.Drawing.Unit.Pixel(0);
            else
                return Telerik.Reporting.Drawing.Unit.Pixel(lvl * 15);
        }

in textbox bindings property I added one new binding with the following:
Property Path :  Style.Padding.Left
Expression:  = GetLeftPadding(CDbl(Fields.Lvl))

What could the reason? Any help would be appreciated.

Thanks
Peter
Telerik team
 answered on 20 Dec 2010
2 answers
103 views
In the Telerik help page titled Telerik Reporting Q2 2009 - The Wizard Data Tab  it shows an option, but that option is not showing in my system (version:  2009.2 807).  I have looked everywhere and the only information I can find is by binding in the code behind in a needdatasource event, which is ridiculous considering the rest of my report can see the fields in my report datasources.

     Screenshot of my wizard

     Shown in Telerik Help

What am I missing?

Aad Brugman
Top achievements
Rank 1
 answered on 19 Dec 2010
2 answers
172 views
Some reports I need might be up to 2000 pages, mabye 100,000-200,000 data rows.  There are billing reports, mostly numbers and sums, no pictures.  I'm getting an error with over 1,000 rows, but that is probably due to my weak test server with not much memory.   The number of pages it can display depends on the amount of memory on the server right?  Sounds like 2,000 pages will be a problem no matter how much memory I have on the server. 
It really doesn't have to display it though, I could popup a message saying, 'report is too large to display, dumping to pdf'.  Would it be possible to just dump the report format to PDF?  Most of our clients just care about printing the reports, not looking at them.  I really like the telerik report designer.  Will SQL Server reporting services have this same issue?

We also have 1 report that might combine a bunch of subreports and be a total of 50,000 pages that the client would print out.  I'm guessing that would have to be written to pdf somehow, or is there a way to keep sending subreports to the printer?

Also it really doesn't matter if it's on asp.net or the silverlight viewer, it's still the same issue right?

danparker276
Top achievements
Rank 2
 answered on 16 Dec 2010
3 answers
92 views
Hi staff!
I have 2 reports. First report is small, just one record and second report has more than 2.000 records. I'm using Report Book to create report. But the second report always starts from new page. I want to print the second report on empty space of first report.
Does Telerik reporting has this feature (like Print On Previous Page?)   
Peter
Telerik team
 answered on 16 Dec 2010
2 answers
179 views
Hi,

I am currently creating a Function that will create separate Telerik Reports for each item in a List. I then need to export each Report to a PDF to a specific location behind the scenes, without launching an HttpResponse.

Is there a way to programmatically export a Telerik Report to a specific location without calling an HttpResponse?

Best Regards,

Landon
Steve
Telerik team
 answered on 16 Dec 2010
1 answer
398 views
Hi,

I would like to export my reports as HTML with the inline images instead of the links with StreamID currently created by exporting to HTML.

I have set the Value of my picture box to:

this.pictureBox1.Value = "http://image.url/image.jpg";

I currently use the following code to export to HTML:

private Stream GetHtml(IReportDocument report)
{
    //Calls WebOperationContext.Current.OutgoingResponse.ContentType
    Settings.ContentType("text/html");             
    var reportProcessor = new ReportProcessor(); 
    var result = reportProcessor.RenderReport("HTML", report, null);
    return new MemoryStream(result.DocumentBytes);
}

this renders images like this:

<img src="&StreamID=i1f3amm2v1v"/>

However I would like it to render the images like this:


or maybe like this (using data urls):

<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD..."/>

 
Are there any way to configure the export to include the images?
Peter
Telerik team
 answered on 15 Dec 2010
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?