Telerik Forums
Reporting Forum
3 answers
965 views

Hello everyone. I have a situation where I have created a master summary report with 2 detail sub reports in it. One of my 2 sub reports refuses to show any data. It is configured the same as the 2nd sub report with its parameters properly being passed along but I get bupkis.

I can run the sub report in question by its self and it will display data beautifully but not when I add it as a sub report to my master report.

I found some code while searching the forum to display a custom message when my sub report has no data and using that I have verified that the sub report is just not getting any data back when run.

Any ideas here to help me get over this hump?

Malcolm
Top achievements
Rank 1
 answered on 28 Nov 2012
12 answers
297 views
I'm trying to add a report to my application called: Availability.cs but I got the message:

The vstemplate file references the wizard class 'Telerik.Reporting.Design.Wizard.AddNewReportWizard', which does not exist in the assembly 'Telerik.Reporting.Design', Version=6.0.12.215, Culture=neutral, PublickeyToken=a9d783dfcc261be'

Ricardo
Top achievements
Rank 2
 answered on 28 Nov 2012
3 answers
152 views
Hello, I have an MVC 3 web project and have created a reports library.  I am new to Telerik reporting but have done previous reporting using SSRS.  For each of my individual report "MyReport.cs" file(s), I have setup some parameters using the wizard.  When a user selects 5 to 6 different parameters from various drop down lists, textboxes, etc, on a report, I want to give the user the ability to save these parameters to the database.  I need to add a label stating "Save this parameterized report as:" with a textbox after it for the user to enter some text, and a button to submit these to the database.  I then want to open this report at another time with the parameters already filled in.  Are there any examples that show how to do this, how to access the code behind, etc?  Thanks very much...
Steve
Telerik team
 answered on 28 Nov 2012
6 answers
185 views
Hi, I have a report telerik, in a rad window, then when I want see the report in my page, get de error Sesion expired(attachment file), I read yours KB articules, and I don't what is my case o wich can be the solution ..
In localhost I haven't problems, only when Is the request in my page. Can be a problem in IIS?
Steve
Telerik team
 answered on 28 Nov 2012
2 answers
184 views
I use localization of reports using the property Localizable=true which is great. The problem is, that I use a lot of expressions in TextBoxes like value=Fields.Info which I want them to stay in original, but they appear in resx file too. I am affraid, that external translator might traslate these expressions and made the report unusable.
Is there any way, how to sign some TextBoxes as "not for localization" to prevent traslation and extraction  to resx file? For instance, aout of 11 TextBoxes I need translate only 3. 

Thank you for help.
Michal
Michal
Top achievements
Rank 1
 answered on 28 Nov 2012
5 answers
239 views
Here's My data:

Account Fund    Amount      Group
Acct1   Fund1   $20     1
Acct1   Fund2   $30     1
Acct1   Fund3   $40     2   
Acct1   Fund4   $50     2
Acct2   Fund1   $60     1
Acct2   Fund2   $70     1
Acct2   Fund3   $80     2
Acct2   Fund4   $90     2

I've created a crosstab report that looks like this:

    Fund1   Fund2   Fund3   Fund4
Acct1   $20     $30     $40     $50
Acct2   $60     $70     $80     $90

I created a group for my "Group" column, but then my report includes all of the fund columns like this:

Group 1
    Fund1   Fund2   Fund3   Fund4
Acct1   $20     $30     0       0   
Acct2   $60     $70     0       0   
  
  
Group 2
    Fund1   Fund2   Fund3   Fund4
Acct1   0       0       $40     $50
Acct2   0       0       $80     $90

But what I want is the report to look like this:

Group 1
    Fund1   Fund2   
Acct1   $20     $30 
Acct2   $60     $70 
  
  
Group 2
    Fund3   Fund4
Acct1   $40     $50
Acct2   $80     $90

How do I do that?
Elian
Telerik team
 answered on 28 Nov 2012
4 answers
200 views

Hi,

I have report with one chart. I would like to have chart with dynamic series.

My dataset (attachment): 00ds.png

My C# code:

customChart.DataGroupColumn = "Status";
customChart.PlotArea.XAxis.DataLabelsColumn = "Quarter";

I've got some strange chart as a result: 01.png. Some series are assigned incorrect. For example, in the Q1 there is "Deleted" with value 10, but it should be in the Q3.

I would like to get something like this: 02.png (note that Q3 and Q4 are changed in the X axis).

Is it possible?

Thanks,

Rafal

Elian
Telerik team
 answered on 28 Nov 2012
4 answers
299 views
Is there any way to achieve the following report?

The report should have the following:
1. a header that should show up only on the first page, and it should extend over the complete width of the page (i.e.. it will cover both columns in the detail section below).
2. a detail section with 2 columns.

I tried the following but did not work:
1. page header, since I can not restrict it to the first page only.
2. report header and group header, both will follow the 2 columns structure and will not extend over the complete page width.

Any help will be appreciated, thanks.
Nate
Top achievements
Rank 1
 answered on 27 Nov 2012
3 answers
117 views
Hello,

I'm not able to separate the bars to display according to the label. How can I separate a bar the other?
Steve
Telerik team
 answered on 27 Nov 2012
1 answer
384 views
Hello,

As a feasibility study on whether the Telerik Reporting control is fit for our purpose, we're trying to create the above and have downloaded / tweaked some sample code from this forum but the final solution is not getting us where we want to be.

I want to add columns to a table object at runtime
  • the table will have
    • column headers
    • groups
      • each group will have a
        • group header
        • group footer and
        • a subtotals column (on a quantity column)

The core of the code is shown below

The group headers / footers are NOT displaying - once this is accomplished the rest should be easy 

Telerik gods we beg you, please tell us what we're doing wrong!!!

 

//DataSet passed in as parameter

 

foreach (DataColumn dc in reportDS.Tables[0].Columns)

{

 

//Add table column group

 

TableGroup tableGroup1 = new Telerik.Reporting.TableGroup();

tableGroup1.Sortings.Add(

 

new Sorting(grpTitle1, SortDirection.Asc));

tableGroup1.Name =

 

Group1";

 

//tableGroup1.Groupings.Add("1=1");

 

 

//tableGroup1.Groupings.Add(new Grouping());

tableGroup1.Groupings.Add(grpTitle1);

this.table1.ColumnGroups.Add(tableGroup1);

#region Grouping

 

 

if (!groupingAdded)

{

 

Group group = new Group();

Grouping groupExpression = new Grouping(grpTitle1);

group.Groupings.Add(groupExpression);

group.Sortings.Add(

 

new Telerik.Reporting.Sorting(grpTitle1, Telerik.Reporting.SortDirection.Asc));

group.GroupHeader =

 

new GroupHeaderSection();

group.GroupHeader.Height =

 

new Unit(10.0, UnitType.Mm);

group.GroupHeader.Style.BackgroundColor =

 

Color.LightSteelBlue;

Telerik.Reporting.

 

TextBox tbxGroupHdr = new Telerik.Reporting.TextBox();

tbxGroupHdr.Value =

 

"=" + grpTitle1;

tbxGroupHdr.Size =

 

new SizeU(new Unit(10, UnitType.Mm), new Unit(30.0, UnitType.Mm));

group.GroupHeader.Items.Add(tbxGroupHdr);

group.GroupFooter =

 

new GroupFooterSection();

group.GroupFooter.Height =

 

new Unit(10.0, UnitType.Mm);

group.GroupFooter.Style.BackgroundColor =

 

Color.LightYellow;

Telerik.Reporting.

 

TextBox tbxGroupFtr = new Telerik.Reporting.TextBox();

tbxGroupFtr.Value =

 

"Group Footer";

tbxGroupFtr.Size =

 

new SizeU(new Unit(10, UnitType.Mm), new Unit(30.0, UnitType.Mm));

group.GroupFooter.Items.Add(tbxGroupFtr);

 

this.table1.Report.Groups.Add(group);

groupingAdded =

 

true;

}

#endregion

 

 

//Add table body column

 

//this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));

txtColumnHdr =

 

new Telerik.Reporting.HtmlTextBox();

SetTextboxStyle(count, columnCount, dc.ColumnName, fntHdr,

 

TextBoxType.Group, ref txtColumnHdr);

tableGroup1.ReportItem = txtColumnHdr;

               

 

 

txtColumnBdy =

 

 

new Telerik.Reporting.HtmlTextBox();

SetTextboxStyle(count, columnCount, dc.ColumnName, fntBdy,

 

TextBoxType.Item, ref txtColumnBdy);

 

this.table1.Body.SetCellContent(0, i++, txtColumnBdy);

 

this.table1.Items.AddRange(new ReportItemBase[] { txtColumnHdr, txtColumnBdy });

count++;

}



IvanY
Telerik team
 answered on 27 Nov 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?