Telerik Forums
Reporting Forum
5 answers
220 views
Hi,

I'm trying to populate a table with a DataTable object.

private void detailTable_NeedDataSource(object sender, EventArgs e)
{
    (sender as Telerik.Reporting.Processing.Table).DataSource = OrderDetails;
}

Unfortunately nothing happeens, the table is empty. I've searched the forum and docs for any explanation or solution, but I was not able to figure out how to put the data at runtime into the table.

Any suggestions whats wrong with my code?

PS: I found a forum post which stated that I have to use a parameterless constructor. If I do so, to problem remains the same. No data shows up.
Peter
Telerik team
 answered on 19 Oct 2011
1 answer
270 views
I have report viewer with a dark blue background and when the report loads, the default progress indicator with the white background does not look good (see attached). I can't seem to find any accessor for setting my own image in place of it. There are no style sheets in the reporting dir. Is this even possible?
Chavdar
Telerik team
 answered on 19 Oct 2011
1 answer
67 views
Hi,
we like to deliver the reports within our silverlight App.
Means: The User clicks the 'Reportbutton' and the report should be open in one of our application windows (UserControl).
Any idea if and how this is to be implemented?

thx.
Svetoslav
Telerik team
 answered on 19 Oct 2011
1 answer
47 views
I have constructed a collection of data series items. Each data series has multiple data points. 

I am binding all this to a bar chart. That data binding is working fine however for some reason beyond my comprehension the reporting engine has decided that all my bar chart items will be aligned to the left side of the chart. 

Currently the way my report is rendering is unacceptable. Is there a way to fix this (Please see attached screenshot)

Cheers !
Peter
Telerik team
 answered on 19 Oct 2011
7 answers
996 views
Hi

I need to save a reports parameters and their values. Passing the report to the report viewer control makes life alot easier as the control builds all the neccesary parameters.
Is there a way to get the event that the Preview button fires? i would think that this event will pass all parameters and values to the actual report for it to be rendered, and i can simply get the parameters and values from its event args.
If its not possible, is there another way that can be helpful for my scenario.  

thanks
Avesh
Squall
Top achievements
Rank 1
 answered on 19 Oct 2011
5 answers
622 views
Hello,
how can I have a particular formatting on last row? I need to hide the bottom border.... I've tried with =Count(Fields.Descr) == =RowLines() but seems RowLines is 1 based...
thanks
Peter
Telerik team
 answered on 19 Oct 2011
1 answer
172 views
i have two datasources in my report one for main report and another one for table, in data explorer only the main report datasource is showing. how would i find the data explorer for table data source?
Peter
Telerik team
 answered on 19 Oct 2011
1 answer
161 views
Hi there, I need to access the value of a subreports parameter inside the NeedDataSource event. How is this best accomplished?

I have tried the following but the value never changes:
private void chart1_NeedDataSource(object sender, EventArgs e)
{
    Telerik.Reporting.Processing.Chart procChart = (Telerik.Reporting.Processing.Chart)sender;
    Telerik.Reporting.Chart chart = (Telerik.Reporting.Chart)procChart.ItemDefinition;
 
    chart.ChartTitle.TextBlock.Text = chart.Report.ReportParameters["Branch"].Value.ToString();
}

When I have a Databind event for a textbox I can the following:
private void textBox3_ItemDataBinding(object sender, EventArgs e)
{
    Telerik.Reporting.Processing.TextBox procTB = (Telerik.Reporting.Processing.TextBox)sender;
    Telerik.Reporting.TextBox tb = (Telerik.Reporting.TextBox)procTB.ItemDefinition;
 
    tb.Value = "= Parameters.Branch.Value";
}
This works but how can I get the parameter's value into string object?

Regards,
Christian
Peter
Telerik team
 answered on 19 Oct 2011
3 answers
272 views

Hi All,

I have a multi-tenant database based on Microsoft SQL Azure to store my client info and I am using Telerik Report to for my Report modules.

Since I have to pull info from different database for different client, how do i dynamically configure my connection at web.config in order to know which database am i pulling from?

Please advise
Thanks You.

Eg.

<connectionStrings>

    <add name="ReportClassLib.Properties.Settings.ClientDB" connectionString="**;Initial Catalog=DB_1;User ID=**;Password=**"

            providerName="System.Data.SqlClient" />

</connectionStrings>

Client 1 is DB_1, Client 2 is DB_2,……

IvanDT
Telerik team
 answered on 19 Oct 2011
3 answers
106 views
I am using version 2011 Q2.
I am trying to get some HTML outputs to work in the WebForms viewer, and am using the RadEditor as the means by which to collect this information.
I have stripped down the input to the HTMLTextBox to those tags that are supported such as :
<p><span style="font-size: 24px;"><strong>EXECUTIVE SUMMARY</strong></span></p>
<p>Overall, the audit process was a success, if not the results.<br />
<br />
</p>
<p><span style="font-size: 22px;"><strong>The Good</strong></span></p>
<p>We had positive outcomes in the areas of...<br />
<br />
</p>
<p><span style="font-size: 22px;"><strong>The Bad</strong></span></p>
<p>We need to address the following things :</p>
<ul>
    <li>this thing which needs fixing </li>
    <li>this other thing which needs to be looked at - important </li>
    <li>other stuff too </li>
</ul>
<p>Following are the detail results of this audit.</p>

The issue is that the <ul> items do not show the bullet points in the HTML view.
The items display correctly when exported to PDF.
Can you advise on a course of action?
Thanks,
Steele.

IvanDT
Telerik team
 answered on 18 Oct 2011
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?