Telerik Forums
Reporting Forum
3 answers
224 views
I'm trying to render a report in HTML format and use the result stream in a aspx page using a Literal or Text control. My problem is that the rendered result contains tags that are causing the output to break, like <html>, <body>, <head>, etc. I just need the html code that's inside the <body> tag.
I will also like the option to strip all styling from the output and get the raw html without styles.

Thank you.
Steve
Telerik team
 answered on 27 May 2011
1 answer
125 views
Good Day

i am using the telerik Report , i am trying to load the Report on page load in Silverlight. this used to work perfectly in a Silverlight Page, now i am using  the report in a SilverlightChild Window and whenever my code reaches this pl
var layoutRoot = (FrameworkElement)VisualTreeHelper.GetChild(reportViewer, 0);

it fails with the Error

Specified argument was out of the range of valid values. Parameter name: childIndex


so to make sure that it does not find the elements i used the code like this

if (VisualTreeHelper.GetChildrenCount(reportViewer) > 0)
            {
                var layoutRoot = (FrameworkElement)VisualTreeHelper.GetChild(reportViewer, 0);
                var viewerModel = (ReportViewerModel)layoutRoot.DataContext;
                var refreshCommand = viewerModel.RefreshReportCommand;
                if (refreshCommand.CanExecute(null))
                {
                    refreshCommand.Execute(null);
                }
            }


I see it does not find an element.

Thanks
Steve
Telerik team
 answered on 27 May 2011
1 answer
133 views
I need to "move" a field from the Deatil Section to the Group Section when the user exports to CSV.

Here's why: When exporting to CSV and opening the document in Excel, every column present in he Group Section is repeated in every line of the CSV file, but the same does not happen to a grouping field that is within the Detail Section (unless it is the data of an unique register). Therefore, in order to make a field from Deatil Section repeat in every line, I have to "move" it to the Group Section when user exports to CSV.

Is there anyway to perform such action?

I'd appreciate any help.

All the best.
Steve
Telerik team
 answered on 27 May 2011
0 answers
177 views
I am using Visual Studio 2008 Microsoft.net Framework 3.5 SP1 . I  installed telerik Q1 2011 reporting and included all required things.  on running the application after adding required controls I get Microsoft JScript runtime error: Object expected.

I have made following  changes in web.config file. Can anyone please give me step by step explaination with reason the changes to be made in web.config for  letting telerik report work properly. Please reply asasp. Thanks in advance

<

 

compilation debug="true">

 

 

<

 

assemblies>

 

 

<

 

add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

 

<

 

add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

 

<

 

add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

 

<

 

add assembly ="Telerik.ReportViewer.WebForms, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>

 

 

 

 

 

 

 

 

</

 

assemblies>

</

 

compilation>

 

 

<

 

pages>

 

 

<

 

 

controls>

 

 

<

 

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

 

add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

 

 

<

 

 

add tagPrefix ="telerik" namespace ="Telerik.ReportViewer.WebForms" assembly ="Telerik.ReportViewer.WebForms, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>

 

 

 

 

</

 

 

controls>

 

 

</

 

 

pages>

 


is there any need to  make change in handler tag and does q1 2011 works with .net 3.5. Please help me reply asap as I am stuck. Thanks in advance

Ritesh
Top achievements
Rank 1
 asked on 26 May 2011
1 answer
79 views
I am trying to create a line graph for a report, and I am having a lot of trouble figuring out exactly how to do what I need. This is what my data looks like:

http://dl.dropbox.com/u/2978500/data.png


I want to be able to show sales averages for two different types of accounts over the past several years. The x axis should be the years, the y axis should be the dollar amount, and the account type should be the series.

I have set the chart's DataGroupColumn property to GroupID, and that correctly makes two series. However, the y axis is wrong, and I end up with this:

http://dl.dropbox.com/u/2978500/chart.png

How do I get the months across the y axis?
Peter
Telerik team
 answered on 26 May 2011
1 answer
98 views
I'm interested in the Telerik reporting but before I go and spend $400 in the product I have a question that concerns me a lot. I've seen the demos and videos already and I will focus on The Product Tag Report. Focusing in that specific report can I print a full page of the same Tag for the same item? There is any way you can tell the report how any copies of Product LJ-0192-S the user wants to print or a full page of the same label? I know this can be achieved in printing label programs even in ms-word too. Right now we use Wasp Labeling and Easy Labels and they are a pain to create labels. any answers?   I just want to be able to tell the report I need 20 labels of a specific tag or item. or at least a full page of labels of the same item.

Regards,

Jose
Steve
Telerik team
 answered on 26 May 2011
1 answer
89 views
Hi

I am creating a simple report like
Select ID, CurlType from MyTable
then i am creating new parameter u can see in attachment. Then in result report i can see all records & parameter dropdown on top but when i select any value from parameter it has no effect on report. I need answer on this issue and i already watched telerik demos/ help material.


thanks
Peter
Telerik team
 answered on 26 May 2011
14 answers
264 views
I downloaded several versions of reports and anything that can be installed
I have windows 7 , vs 2010 sql server 2000 and 2008

Hrisi
Telerik team
 answered on 26 May 2011
1 answer
98 views

Hi Telerik Team

                        For silverlight3 report viewer we found following issues. (Q2-2011 release)

1)     1) If you click on cancel button while exporting report to any format, the child window instead of going off, appears again saying “Done!  Click saves to download the file”; As you have clicked on cancel, how could you show this dialogue?  

2)      2)When we export report with more than 10 pages to excel, it gives error.

3)      3)No way to modify export list item if I don’t want report to be export in CSV format , I can’t remove that option . Also while rendering loading window shows “rendering report” I can't change that massage too.

Please see this issue attach with screen shot. Waiting for your reply.

Thank you

Vijay

Steve
Telerik team
 answered on 26 May 2011
5 answers
211 views
Hi,
Do you have any sample codes for for creating a pie chart with the value of each slice displayed (counter or %).
I have tried the codes below to create pie chart on-fly but couldn't get it done:

........

Dim

 

objChart As New Telerik.Reporting.Chart()

 

 

objChart.SeriesPalette =

"Palette1"

 

 

 

 

 

 

objChart.Style.Color = Color.DarkBlue

 

objChart.BitmapResolution = 96.0F

 

objChart.ImageFormat = System.Drawing.Imaging.ImageFormat.Emf

objChart.Name = strFieldName

objChart.ChartTitle.TextBlock.Text = objChartDetails.ChartTitle

objChart.ChartTitle.Appearance.FillStyle.MainColor = Color.Transparent

objChart.Size =

New Telerik.Reporting.Drawing.SizeU(New Telerik.Reporting.Drawing.Unit(drReport("Width"), Telerik.Reporting.Drawing.UnitType.Pixel), New Telerik.Reporting.Drawing.Unit(drReport("Height"), Telerik.Reporting.Drawing.UnitType.Pixel))

 

 

objChart.ChartTitle.Appearance.Dimensions.Margins =

New Telerik.Reporting.Charting.Styles.ChartMargins(0, 10, 10, 10)

 

 

objChart.PlotArea.EmptySeriesMessage.Appearance.Visible =

True

 

 

 

 

 

 

objChart.PlotArea.EmptySeriesMessage.Visible =

True

 

 

 

 

 

 

 

 

 

objChart.PlotArea.Appearance.FillStyle.MainColor = Color.White

 

objChart.PlotArea.Appearance.FillStyle.SecondColor = Color.White

 

 

Dim

 

objChartSeries As New ChartSeries()

 

objChartSeries.DefaultLabelValue =

"#%"

 

objChartSeries.Appearance.TextAppearance.Visible =

True

 

objChartSeries.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.ItemLabels

objChartSeries.DataLabelsColumn =

"StatName"

 

objChartSeries.Type = objChartDetails.ChartType

objChartSeries.DataYColumn =

"StatCount"

 

 

objChart.Series.Add(objChartSeries)

 

 

........

my data source is from a table with StatName (varchar) and StatCount(int)
StatName      StatCount
Verified          23
No-Verified    65


Attached is a sample of my result.

Thanks
quan



Steve
Telerik team
 answered on 26 May 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?