Telerik Forums
Reporting Forum
3 answers
164 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
206 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
196 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
256 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
227 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
316 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
122 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
405 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
7 answers
242 views
Hi,

I tried to put a sub report in a list of 3 items,  but the subreport only took the information from the first item and repeated for 3 times.

Im not sure what I have missed.  Could you provide me an sample project to help me set it up?  Much appreciated!


Regards,
Bill 
Roland
Top achievements
Rank 1
 answered on 27 Nov 2012
5 answers
574 views
I am experiencing a very peculiar issue using the Telerik Reports(version 2012 Q1) on an ASP.NET 3.5 web application . The same reports as well as the other controls on the ASP.Net page function properly when there is less data but when there are a lot of rows(1000 or so) on the report's table it does not get rendered properly. Some of the data appears at random position in the report viewer. Even the header gets shifted to the bottom of the report. Besides this the rest of the ASP.NET page controls stop functioning correctly for example the buttons do not interact normally any longer.

It seems like the data in the report viewer is not getting formatted properly because of the large number of rows resulting in corruption of HTML output. Can you please help us troubleshoot and resolve this issue? As I understand there is no in-built paging on the report viewer leading to all the data being pulled at once is there any way to develop the report to render fewer items at a time?
Robert Michels
Top achievements
Rank 1
 answered on 26 Nov 2012
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?