Telerik Forums
Reporting Forum
4 answers
321 views
hi I have a RadGrid that gets data from an objectdatasource. At runtime I have manipulated the data represented in RadGrid by applying some filters and groups.

Now I want to export the data in RadGrid (with current filters and groupings applied) into a Tererik Report which is placed in a Telerik Report Viewer on an .aspx page.

is there a convenient way to achieve this?

thanks in advance
Bruno
Top achievements
Rank 2
 answered on 06 Sep 2008
1 answer
509 views

what datetime functions does =now() support, i was trying to set a parameter default value to =now().AddDays(-1).Date but now() does not seem to return a true datetime. Is there a way to do this



thanks
kevin
Steve
Telerik team
 answered on 04 Sep 2008
1 answer
197 views
I have a list of about 20 reports that I need to read from. Right now, they are all Crystal Reports, but I am going to convert them to telerik reports. I have seen that I should make a class library for all the reports(is this the best thing for web applications?) but The question I have is... Is there a way I can set up the reportviewer(will be an aspx page) so it can take a value(one of the reports) depending on certain criteria. Right now, I have only seen that you set the Report property to the report you want, but I would like it to change depending on a querystring or something else. Does anyone know of a way of doing this. Thanks.
Steve
Telerik team
 answered on 04 Sep 2008
2 answers
197 views
Hi,

I've been creating some subreports, and I've got a weird problem crop up.  I've added the subreport control to the master report, but the ReportSource dropdown isn't listing one of my new subreports.  I cannot for the life of me see why this is at all.  Other subreports I created show up fine.

My machine has both Reporting Q3 2007 and Report 2008 Q2 latest build on it. 

Has anyone experienced this problem?
Paul Buxton
Top achievements
Rank 1
 answered on 03 Sep 2008
5 answers
161 views
I have a button and a reportviewer inside of an updatepanel on a page.  When the page initially loads, my report shows up fine.  When I click on the button and a partial postback is done, the report is gone and all I can see is the reportviewer toolbar.  What do I need to do to ensure that my report displays after the button click?
Fani
Telerik team
 answered on 03 Sep 2008
1 answer
115 views
We are pulling data that has been saved from teh RadEditor Control into our Report.  Unfortunately it is displaying HTML tags along with it e.g,:


<br/>


Is there a way to have the Report display as html?
Steve
Telerik team
 answered on 03 Sep 2008
0 answers
132 views
I am having a problem that the design view of the report
doesnt match the actual report, any suggestions?
Shiraaz
Top achievements
Rank 1
 asked on 03 Sep 2008
1 answer
94 views
Dear telerik team ,

i need to use the pie chart to represent the following

1- total target for user that's need to be the 100% of the chart (X)
2- the accomplished from the target  (Y)
3- the remainning from the target (Z=X-Y)

i need to do this by using sql data source biniding to the chart

i made select statment that selects the accomplished and remainng as 2 records so when i bind the chart it works but i have a proplem when the accomplished is greater than the target the chart give wrong representation

so i need to know the right way to use pie chart for this purpose
Steve
Telerik team
 answered on 02 Sep 2008
1 answer
281 views
DataTable table; // results from store procedure. 
IndicadoresDetalhado subReportDetalhado; //the sub report ReportSource. 
SubReport subReport; //the sub report. 
 
public IndicadoresBase(clsParametros pParametros) 
        { 
            InitializeComponent(); 
 
            string[] centrais = pParametros.param_central.Value.ToString().Split(','); 
 
            for (int i = 0; i < centrais.Length; i++) 
            { 
                pParametros.param_central.Value = centrais[i]; 
                table = clsRelatorio.RelatoriosIndicadoresGet(pParametros); 
                subReportDetalhado = new IndicadoresDetalhado(table); 
 
                subReport = new SubReport() 
                { 
                    Location  = new PointU(new Unit(0.0, ((UnitType)(UnitType.Cm))), new Unit(20.0 * i, ((UnitType)(UnitType.Cm)))), 
                    Name = "subReport"
                    ReportSource = subReportDetalhado, 
                    Size = new SizeU(new Unit(28.7, ((UnitType)(UnitType.Cm))), new Unit(20.0, ((UnitType)(UnitType.Cm)))), 
                }; 
 
                this.detail.Items.Add(subReport); 
            } 
 
            ExibirParametros(pParametros); 
        } 
Hello.

In my report, I'm programatically adding news sub reports as much as I have data tables from the store procedure result set. All the code stuff is in the constructor of the base report, like the code above.

I know that probably that's the not best approach when working with sub reports, but the time that I codded that, that's the way I found to achieve my objectives.

The main problem is about layout. When viewing from browser, everything works fine. But, when I export my report to PDF, I cannot display a sub report per page, unless I change the 'Size' property of my subreport. Setting it to a value that fits on PDF display, the HTML display change, putting the subreports side by side.

What I want to know is if there is a way to display each sub report created per page. I mean, each time that i add a item to the main report, it creates a new page for it.

Thanks in advice.
Hrisi
Telerik team
 answered on 01 Sep 2008
4 answers
204 views
I have a report that has two filters. One is  a string and the second one is a datetime. My expressions look like this:
=Fields.PoolType =  =Parameters.PoolType and
=Fields.PoolDate =  =Parameters.Date

I am getting the parameter information from a datasource that is pulling it from a view.
The PoolType is a string and the PoolDate is a DateTime

I am trying to use reportviewer in an aspx project and I get the following error.

Cannot perform '=' operation on System.DateTime and System.String.


I tried it as a test in the windows application and it worked just fine without an error but I really need it as a web application.

Thanks

Steve
Telerik team
 answered on 01 Sep 2008
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?