Telerik Forums
Reporting Forum
1 answer
645 views
I couldn't find any solution regarding this matter. If anyone use Telerik and have any idea about this please post. :)

Currently I have an ojbect:

Absence
 -> List<Available> Available

I was successfully pass the List object to the main table and list out the Absence object. However when i try to do something like the ff, I have a mental block and I could not find anyway either on google or on their documentation

------------------------------------------------------------
| ABSENCE                                                  |
------------------------------------------------------------
|  Field1   | Field2                                       |
|                                                          |
|  -----------------------------------------------------   |
|  | Available                                         |   |
|  -----------------------------------------------------   |
|  | Available Field1    | Available Field2            |   |
|  -----------------------------------------------------   |
|                                                          |
|----------------------------------------------------------|
|----------------------------------------------------------|
|  Field1   | Field2                                       |
|                                                          |
|  -----------------------------------------------------   |
|  | Available                                         |   |
|  -----------------------------------------------------   |
|  | Available Field1    | Available Field2            |   |
|  -----------------------------------------------------   |
|                                                          |
------------------------------------------------------------


I cannot find anyway to bind or change the datasource of the subTable to the corresponding sub object
How can I archive this kind of result?

Thank you
Ivan
Telerik team
 answered on 19 Oct 2011
5 answers
276 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
323 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
108 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
90 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
1.1K+ 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
732 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
210 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
203 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
370 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
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?