Telerik Forums
Reporting Forum
1 answer
58 views
Hi All
Can Telerik Report display the effect  of attached images?
And how can i do it?
Is there any example?
Thanks
Steve
Telerik team
 answered on 11 Mar 2010
3 answers
81 views
Hello everyone,

I'm having a few issues with setting the widths of 2 different subreports. I have one subreport that is 50mm's wide and another one that should be 30mm's wide. I've got all my report items inside a panel, wich I use to control the subreport's border width (although I have also tried to use the subreport's borderstyle property to control that...the end result was the same).

What is happening is that the end result is setting both the subreports's width to 50mm, although when debugging one of them has its width property set to 30mm.

The only thing that lets me do somewhat what I want is putting a rectangle shape on my report and the textboxes "inside" it...but then overlapping occurs....still, the end result produces one report with 50mm wide and another one 30mm wide..

It looks like the subreports are behaving like they were table cells instead of divs...

Sincerely,
Antonio Simoes
Steve
Telerik team
 answered on 10 Mar 2010
1 answer
177 views
Hi Everyone,

how can I localize the Silverlight Report Viewer? I opened the template and there were no keys for localization defined?

thx,
can
Peter
Telerik team
 answered on 10 Mar 2010
1 answer
138 views
Hello Guys,

We have a need to create some templates to store and retrieve information. I was wondering if Telerik Reporting or any other Telerik controls can support the features we are looking for.

Basically, there are some documents that needs to be stored in the database and retrieved upon request. Right now, when the user uploads the document, it would be stored in database and when requested will open up in MS Word. If the users have to make changes to that document, they need to retrieve it, make changes and then re-upload it.

However, the users now want us to provide some templates to create the document. When retrieved, the entire document should open up in a browser and they should have the ability to make changes to it and upload from the browser itself. Initially, I thought of providing a bunch of Rich Text boxes for them to create and edit, but that's a painful process. Is there any easy way of doing it using Telerik Controls??

The sample template looks like this :

  • Content Page for displaying the contents in the document. Similar to Index in a book.
  • Objective Section : Can run into multiple pages
  • Few tables to store the users information, contact list etc.,

The whole thing should mimic microsoft word look and feel although it's not mandatory...

Any ideas???

Rumen
Telerik team
 answered on 10 Mar 2010
0 answers
125 views
I am not getting the row height smaller. The setting in the designer is 0.45 cm, but in the reportexplorer it is still 30px.

Many thanks
Kone
Top achievements
Rank 1
 asked on 10 Mar 2010
1 answer
84 views
I'm trying to figure out how to use the Telerik Reporting to Tie it into an Data Object to create a report.

I have an object that contains a 2 Collections of DataTables, one that needs to be used in Charting, the other in a Table, along with another collection of objects for general reporting.  I need to create the report in such a way that it repeats for each instance of the parent object. 

I'm coding this for a VB Windows Form.  Any help or examples of data binding using an object would be appreciated.
Massimiliano Bassili
Top achievements
Rank 1
 answered on 10 Mar 2010
2 answers
170 views
I have a reportviewer on my page and in the pageload codeblock I have put:

    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load 
        If Not Page.IsPostBack Then 
            ReportViewer1.Report = New Applications.Reporting.ForecastSalesValues 
        End If 
    End Sub 

The problem is that this report has a parameter which I allow to accept blanks and when I load the page up, the report trys to get the data and display it.
I do not want it to create the report when the page loads, I want it to only try to create the report when the Preview button is pressed.
How can I do this?
Jaymie
Top achievements
Rank 1
 answered on 09 Mar 2010
0 answers
276 views
Respected Team,
                 I have a chart (pie) in my report which is populated by NeedDataSource event. If i set the report's data source as a datatable from webform (asp.net web page) then NeedDataSource event is fired automatically and it works fine. When I use this report as a subreport and set the datasource with same data table from Main Report then NeedDataSource is not fired and my pie chart is not displaying.
  I tried to use the RaiseNeedDataSource(chart1.GetType(), EventArgs.Empty). By this way it has been fired but in NeedDataSource event when i tried to type cast the sender (chart1) as Telerik.Reporting.Processing.Char then it returns null and eventually it failed to display the pie chart. Code is given below
1. Sub report name is rptAgedDebtor
      public rptAgedDebtor()
        {
            InitializeComponent();
            chart1.RaiseNeedDataSource(chart1.GetType(), EventArgs.Empty);
        }
2. private void chart1_NeedDataSource(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart;
            Telerik.Reporting.Chart chartDefinition = chart.ItemDefinition as Telerik.Reporting.Chart;

            ChartSeries DebtorSeries = new ChartSeries();
            DataTable tblDebtor = (System.Data.DataTable)this.DataSource;

            decimal debtorValue = 0;
            ChartSeriesItem DebtorItem = null;
            foreach (DataRow dr in tblDebtor.Rows)
            {
                debtorValue = Math.Round(Convert.ToDecimal(dr["Value"]));
                if (debtorValue == 0) continue;
                DebtorItem = new ChartSeriesItem();
                DebtorItem.Label.TextBlock.Text = string.Format("${0:##,##,##0}", debtorValue);
                DebtorItem.YValue = Convert.ToDouble(dr["Value"]);
                DebtorItem.Name = GetAgedItemTitle(dr["Name"].ToString());
                DebtorSeries.AddItem(DebtorItem);
            }
            DebtorSeries.Type = ChartSeriesType.Pie;
            DebtorSeries.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels;
            chartDefinition.Series.Add(DebtorSeries);
            chartDefinition.Appearance.Border.Visible = false;
            chartDefinition.ChartTitle.TextBlock.Text = "Aged Debtors";
            chartDefinition.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.White;
            chartDefinition.PlotArea.Appearance.FillStyle.SecondColor = System.Drawing.Color.White;
            chartDefinition.PlotArea.Appearance.Border.Visible = false;
        }

  If any one have any idea then plz give me chance of thanks.
Muhammad Abrar Nazeer
Top achievements
Rank 1
 asked on 09 Mar 2010
1 answer
101 views
Hi,

I am creating multiple reports and trying to style them. I need to use a specific size for the textboxes in the report and was wondering if there is anyway to set that in the stylesheet for the report and use it across multiple reports(I know how to use style sheets across multiple reports, but do not see any option for setting the size of textbox).

Thanks
Peter
Telerik team
 answered on 09 Mar 2010
1 answer
165 views
Hi,

I created some reports as a class library and am using them in a web application. I could save the reports (eg: PDF format) on the server using the reportProcessor.RenderReport method. Is there anyway that I can implement a save/view option kind of dialog box on the client side(simliar to what we get when we use a reportviewer and click on "Export")
Steve
Telerik team
 answered on 09 Mar 2010
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?