Telerik Forums
Reporting Forum
1 answer
125 views
I have this chart in the report, but i need the series's look how in this  PDF which the name of the series is in the chart (plot area),i want put the name on my chart in the yellow area marked.



I need have the names, in the chart of the report , how the chart on my asp.net control.

PD: My chart is attached
Steve
Telerik team
 answered on 16 Dec 2009
3 answers
110 views
Hi All , 
           I have to dynamically handle report background image  visibilty based upon some field value . I trired out with condtional formatting by createing a rule , but at runtiem it fails . Please suggest the way to me through >net also to handle it . Beacues i also tried through the code but it does not looks right way to me .


Thanks ,
Naginder Singh
Transputec Computers Plc
Steve
Telerik team
 answered on 16 Dec 2009
2 answers
457 views
Hi!

I have in my reporting project a Reporting.List (mainList) inside of another Reporting.List (secondList).

So when i databind the mainList, i also want to databind the secondList during the mainList ItemDataBound event based on the contents of the binded data.

For that i will need to access a class object during the ItemDataBound event of the MainList.

I was trying to do this:

        private void lstGrupoQuestoes_ItemDataBound(object sender, EventArgs e)
        {
            MyClass classobj = (MyClass)e.Item.DataItem;
            secondList.DataSource = classobj.subclassmethod;   //subclassmethod is a IList of another class object
            MyRepeater.DataBind()

       }
      
Unfortunely the EventArgs of the Reporting.List does not supports the "e.Item.DataItem". So how can i access a class object during the itemdatabound event?

Thanks.
Jhony Malta
Top achievements
Rank 1
 answered on 15 Dec 2009
4 answers
58 views
Hello,

I have a TextBox and a CrossTable in a detail section, both set to visible= false.

In the detail section ItemDataBinding event, I set one of those two controls to visible= true depending of a value in the data row.

This used to works fine in Q1 2009 but since I have upgraded the report to Q2 2009, when I set the CrossTable visible to true, the CrossTable does not appears anymore.

I have tried with Q3 2009 and it still does not work like it used to be.

Thanks

Frédéric

Frédéric
Top achievements
Rank 1
 answered on 15 Dec 2009
2 answers
50 views
Hi, I use reportviewer in a web project. I have 2 client PCs accessing this report.

On one PC, the report viewer shows "Generating " and then the wordings disappears and blank page appear. While on the other PC the report data comes out fine. Hence I dont suspect anything wrong with the program codes.  Both are using IE of the same version. Any ideas what are the possible causes or checks that I should conduct?

Thanks in advance.

Regards
CWK
cwk
Top achievements
Rank 2
 answered on 15 Dec 2009
3 answers
76 views
i have telerik reporting q3 2009 ,
i use htmlTextBox and set Culture to Persian And Align Right.
in webpage i see text in left side, and in pdf/print i see text in right side and with right to left problem.
Steve
Telerik team
 answered on 14 Dec 2009
1 answer
70 views
I might be missing something, but how do I get the group pane to show in Visual Studio 2008?
I'm attaching a screen shot of my environment.

thanks.
Steve
Telerik team
 answered on 14 Dec 2009
5 answers
291 views
I've been trying to design a report with a subreport.  I'm stuck on trying to get the subreport to update with a sql select using a parameter to the sqlselectcommand which calls a stored procedure.  I've looked at the invoice demo and have tried to understand the process.  I'm just not sure how the Report Parameters and the SqlSelectCommand parameters are able to communicate.  If I try and code the parameter initialization in the constructor of the subreport the ReportParameter doesn't exist yet at this point and it errors out.

The main report works fine with the above parameter manipulation as shown below:
        public RenewalList(int KeyPK)  
        {  
            /// <summary>  
            /// Required for telerik Reporting designer support  
            /// </summary>  
            InitializeComponent();  
            this.sqlDataAdapter1.SelectCommand.Parameters["@KeyPK"].Value = KeyPK;  
            this.DataSource = this.sqlDataAdapter1;  
 

But inside the subreport you don't have the ability to hardcode the parameter so I'm not sure how to get the value to an identical type SelectCommand in the subreport.  I've set a ReportParameter in the subreport called KeyPK, the main report then sets the subreport with KeyPK = =Parameters.[@KeyPK], I've put a break in the subreport after the InitializeComponent and the parameter is not set to the new value. 

Hope I've explainded this sufficiently.

Thanks,
-Sid.
Chris Gillies
Top achievements
Rank 1
 answered on 14 Dec 2009
2 answers
286 views

 I need to be able to pass parameters to a subreport sproc at run time, I would perfer session variables but I don't really care, just need to pass the variables. 
 

Here is what I’m talking about. I need a report that shows Maintenance, Oil usage and Meter hours against Power Generators located at 15 different sites. The data needs to be filtered for what ever date range the user passes, usually a month . I don’t use a report viewer, just export the report directly to pdf and let the user save the report. They put a begin date and end date into two text boxes, and clicks the report button. 

 

Main Report datasource is SqlDatasource with a Sproc, it returns Site Name and SiteID, No  parameters, I want to see all sites data in this particular report.

 

Subreport 1 - Oil usage for that site. Table has fields SiteID, DateAdded, QuantityAdded

Parameters(@BeginDate, @EndDate)

 

Subreport 2  - Meter Hours for that site . Table has fields SiteID, ReadingDate, MeterReading

Parameters(@BeginDate, @EndDate)

 

Subreport 3  Maintenance performed

Parameters(@BeginDate, @EndDate)

 

How do I make this work with Telerik Reports??????

 

Right now I have hard coded the stored procedures as this is the first report I have created but next month I need to be able to provide the user with a way of filtering the report. I am in a real jam here. Any help would be greatly appreciated. Thanks

Chris Gillies
Top achievements
Rank 1
 answered on 14 Dec 2009
5 answers
208 views


Sir,

        I  trying to use Telerik Reporting ( trail version - Q2 2009 SP1 (3.1.9.807) ) , I am satisfied all reports expect LABEL REPORT TYPE , Because multiple column does not work .

My code as like this :
  public Report9()
    {
        /// <summary>
        /// Required for telerik Reporting designer support
        /// </summary>
        InitializeComponent();

        DataSet Ds = new DataSet();
       
      //  Assign data to Dataset ( Ds) from DataBase

        this.detail.ColumnCount = 2;
        this.DataSource = Ds;

    }

Tools Used :
VS 2008 sp1 , SQL Server 2005
I am waiting for your kind reply

Regards ,
          Praveen
          MeshiLogic

IT
Top achievements
Rank 1
 answered on 12 Dec 2009
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?