Telerik Forums
Reporting Forum
1 answer
80 views
Just lost half a day debugging a "Null reference" exception inside the ReportService. The strange thing is that in case of a disable Session State a null reference exception is fired. I can understand that it might be required, but I can't find this in the documentation. Besides the missing documentation I'd have liked a proper exception.

Hope a change in both documentation and library will happen to help others.

-
Mark Monster
Peter
Telerik team
 answered on 27 May 2011
17 answers
479 views
Hi,

I have a requirement where in the report I need to dynamically generate textboxes with navigate to url actions based on the data bound to it. I'm connecting to a sqldatasource.

I tried the following. Placed a Panel in the cell. Hooked up to the ItemDataBound event. But I'm not able to reach to that particular field in the DataObject. If I can get to it I can generate TextBoxes on the fly and add to the panel. Is this possible to do?

Cheers,
Ganesh
Steve
Telerik team
 answered on 27 May 2011
1 answer
82 views

Telerik.Reporting.Processing.Table tblCrosstab = (Telerik.Reporting.Processing.Table)sender;
FairDataList = null;
 
var tbl_EEEEE_STUDENT_ID = tblCrosstab.DataObject["EEEEE_STUDENT_ID"];
 
if (strEEEEE_STUDENT_ID != null)
{
    if (_objCrosstab != null)
    {
        if (tbl_EEEEE_STUDENT_ID!= null && tbl_EEEEE_STUDENT_ID.ToString() == strEEEEE_STUDENT_ID)
        {
            FairDataList = _objCrosstab.GetFAIRDataDetailK2_1(this.ReportParameters["SchoolYear"].Value.ToString(),
                                                            this.ReportParameters["District"].Value.ToString(),
                                                            this.ReportParameters["School"].Value.ToString(),
                                                            this.ReportParameters["Grade"].Value.ToString(),
                                                           strEEEEE_STUDENT_ID);
 
 
            if (FairDataList.Count > 0)
            {
                if (tblCrosstab.DataSource == null)
                {
 
                    tblCrosstab.DataSource = FairDataList;
                }
 
            }
        }
    }
}
Peter
Telerik team
 answered on 27 May 2011
3 answers
268 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
166 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
165 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
204 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
96 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
117 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
109 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
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?