Telerik Forums
Reporting Forum
1 answer
126 views
Scenario:

Generating a report and datasource is being assigned from code behind. Report has a table and a chart.

Issue:

Table generates correctly but chart does not. How do I tell chart what column to plot? I looked at the documentation but was not very helpful. Is there a way to debug if the chart's datasource is assigned correctly?

Thank you.
Steve
Telerik team
 answered on 10 Aug 2010
3 answers
62 views
Hi  Sir

    Just wanted to know by using telerik reporting tool can we make connection with Microsoft SQL Server Cubes...and generates the report


Thanks & Regards,
Suresh Prajapati
Steve
Telerik team
 answered on 10 Aug 2010
1 answer
54 views
I am using Q2 2010 and combine two reports into one using a report book. When I render the report in the report viewer, it displays just fine, but when I export it as a pdf or rtf document there is an error. The second report contains a subreport. That subreport displays fine in the report viewer. When the report is exported, the subreport is not printed on each page, but rather after each page as a whole extra page.

Can you suggest any possible cause for this?

BTW, the report that cases this behaviour does not seem always behave this way when rendered on its own (no report book), but it happens 100% of the time with a report book.

TIA

 
Steve
Telerik team
 answered on 10 Aug 2010
4 answers
132 views

Hi,

I am in doubt which approach is the better.

I have a collection of a custom businessobject as datasource on a subreport.
it has two properties. A typetitle and a text. Both strings

Data could be like this.

TypeTitle, Text
TypeExample1, TextExample11
TypeExample1, TextExample12
TypeExample1, TextExample13
TypeExample2, TextExample21
TypeExample2, TextExample22
TypeExample3, TextExample31

I want the report to render as this:

TypeExample1
   TextExample11    TextExample13
   TextExample12

TypeExample2
   TextExample21    TextExample22

TypeExample3
   TextExample31

I tried to look a columns, but it also includes the groupheader.

Is there a simple approach for this, or do I have do a hacked solution with extra subreports etc.

Hope for a quick reponse.

Thanks!
Morten

Morten Louw
Top achievements
Rank 1
 answered on 10 Aug 2010
3 answers
255 views
Hello:

I can't seem to figure out how to display a ReportParameter's DisplayMember in a report. The ReportParameter is set via a SQL query.

I am generating the parameter using the code below:
reportParameter1.Name = "ClientId";
reportParameter1.Type = Telerik.Reporting.ReportParameterType.String;
reportParameter1.UI.AllowBlank = false;
reportParameter1.UI.Visible = true;
reportParameter1.UI.AvailableValues.DataSource = ds.Tables[1];
reportParameter1.UI.AvailableValues.DisplayMember = "name_display";
reportParameter1.UI.AvailableValues.ValueMember = "client_id";
this.ReportParameters.Add(reportParameter1);

"client_id" is an int, "name_display" is a string.

I have a textbox on the report that I am attempting to fill in the report's ItemDataBound event like this:
this.tbClientId.Value = string.Format("Client Id = {0}", reportParameter1.Value.ToString());

Obviously this only returns the "client_id" member. I need it to display the "name_display" member. How can I accomplish this?
Steve
Telerik team
 answered on 10 Aug 2010
1 answer
105 views
hi
i want to have picturebox in Page footer that works like a image link . when i click in the picture box it goes to a specific website .
i want to use it in a windows application  not a web application . is it possible or not ?
thanks
 
Steve
Telerik team
 answered on 10 Aug 2010
2 answers
81 views
I've created a simple report that originally displayed correctly right after I completed the report wizard.  I then went back and created a custom style for all labels (only 4 of them as of now), and when I rebuilt my class, and project, the report viewer now doesn't display my labels at all.  Anyone else have this happen?  Seems quite simple, but I can't figure this one out.  All other data displays correctly, but my styled labels are not visible.  When I test it in VS 2008 using 'Preview' tab, it shows, but when I click on the 'Html Preview', notta.

Any help would be greatly appreciated.
Carrie
Top achievements
Rank 1
 answered on 09 Aug 2010
1 answer
87 views
I read the "Understanding Events" article and have been researching different posts on this subject and I'm still a little confused.  I want to use the runtime value of txtElement in a query to return an amount.  I then want to set the value of txtEncumbrance to the amount that is returned.

All of my fields are in the group footer section.  But I know I need to get the value of my text box in the ItemDataBound event of my text box first using the sender object.  Should all my code go there?  Or should I put the rest of my code in the group footer ItemDataBound section? 

Please see attached files.  Thanks for your help!
Niki Sams
Top achievements
Rank 1
 answered on 09 Aug 2010
3 answers
155 views
Hello,

    I'm new to Telerik Reporting, heck I'm still using a trial... but I'm getting this error while trying to put a Report Viewer onto an aspx page within an already built web application as a trial run.....
    

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)


It is an ASP.NET 2.0 web page that has a master page.... 

I did build the report in a separate class library, and it works fine (connecting to a MySQL database and retrieving a simple set of data).

this is the code for the aspx page..... I've added no code to the aspx.cs ..... as it is not needed to view a report (I've done a trial run on a new web site earlier as another test, but now i'm trying to incorporate a report into a system)

===========================================================================================================

<%@ Page Language="C#" MasterPageFile="~/ApplicationLayout.master" AutoEventWireup="true" CodeFile="TestReporting.aspx.cs" Inherits="TelerikTest_TestReporting" Title="Telerik Test" %>

<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.0.10.423, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
    Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
        <telerik:ReportViewer ID="ReportViewer1" runat="server">
        </telerik:ReportViewer>
    </div>
</asp:Content>

======================================================================================================

At the moment.... I'm not connecting it to any report, as I just need to know if the viewer will display.... but it does not, I just get that error.

Oh, and I have searched this forum earlier for anything related to this error..... If I take the runat="server" away from the report viewer, the viewer does not show up on the page at all, but I don't see that error message come up.....

what do I do to get the viewer to display..... after I have it working can I attach a report to it.....   please help

Amit Missra
Steve
Telerik team
 answered on 09 Aug 2010
6 answers
229 views
hi,

i have a very simple report and i have a window with ReportViewer.
in design time at the XAML source - defining the report viewer ZoomMode to Pagewidth i noticed that later on runtime the vertical scroll doesn't work, it's just stuck, sometime the scroll locks, looks like disabled, only when i change the zoom from the report viewer the scroll functionality returns.
it only happen when in full screen and only in PageWidth ZoomMode.

can you plz help?

thanks,
lior.
Steve
Telerik team
 answered on 09 Aug 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?