Telerik Forums
Reporting Forum
1 answer
250 views
Hi,

I have a number of reports that display a variety of numerical data.  The data is formated on the fly using DataFormatStrings on the report textbox controls.  The format strings are working correctly when viewed in the Viewer / HTML.  However when exporting to excel, the Percent format string is not being applied ({0:P}).  All other format strings are working correctly when exported, but the percentage seems to not be applied at all.  Is there any fix for this or am I missing anything?  When I export currency formatted items ({0:C}), they are displaying correctly.

Thanks,

Ahmed
Chavdar
Telerik team
 answered on 22 Sep 2009
1 answer
204 views
Hello
I have a report with a pageheader-section, detail-section and a pagefooter-section. In the detail-section I have a table. I have a border around every section to frame in the report into my website.
When I look at my report in the HTML-preview everything looks great, but when I use the other preview-button (I think it is img rendering) my report have a big empty gap between the end of the detail-section and the beginning of the pagefooter-section .I want my border to continue all the way down to my pagefooter. In other words I want my detail section to continue all the way down to my pagefooter. Please help me with this annoying designerror.
/Emil
Steve
Telerik team
 answered on 22 Sep 2009
1 answer
96 views
I have a customer that has a report that's like 200 plus pages.  Is there a way to have it load in the background so the report shows up sooner?
Steve
Telerik team
 answered on 22 Sep 2009
4 answers
430 views
Hi,

How can I select all items in a reportparameter when loading the report in the reportviewer?

I know I can set the value as follows:

 

Dim rep As New webreports.reportname
rep.ReportParameters(
"Period").Value = "aaa"

But I want to select all items when the reports loads for the first time, after that the user can drop any selected items.

I tried:
rep.ReportParameters("Period").Value = "aaa; bbb"
but that doesn't work.

Any suggestions?

Cheers
Roel

Steve
Telerik team
 answered on 22 Sep 2009
3 answers
155 views
I am running a label report. How do you adjust the vertical gap after you run the wizard ?
Steve
Telerik team
 answered on 22 Sep 2009
1 answer
743 views
I am trying to pull data from a database with a stored procedure that takes an integer for the parameter. I used the video http://tv.telerik.com/reporting/video/telerik-reporting-+-design-time-support-for-parameterized-queries as a guide but cannot get the report to work properly.

If I put a value in the Collection Editor for the parameter, I get data returned, but only for the parameter that is hard coded. If I remove that value, I get an error saying 'Failed to convert parameter value from a String to a Int32.

Here is the code for my button. I have created the getter/setter on my ReportViewer object for the parameter OrderIDParam as per the video's instructions. I ran it through debug and the value being passed to the setter is correct.

 

protected void btnRun_Click(object sender, EventArgs e)

 

{

(ReportViewer1.Report

as ReportViewer).OrderIDParam = int.Parse(txtOrderID.Text);

 

ReportViewer1.RefreshReport();

}

Any help would be appreciated. Thanks.

Mike Theos
Top achievements
Rank 1
 answered on 21 Sep 2009
1 answer
111 views
hi,

I want to display data on table by use table control (on header section). My table (only) has two rows, one for title and one for data item.
Row for data item has value like:  = Fields.CustomerName . And as a result, data didn't display on table's row. How can i display ?
I don't use datasource for table because i don't want the table automatically create a raw. My goal is use a table with two row to display a tittle and one row data.

Why i put "= Fields.CustomerName" on value field. Table didn't display data ?

Gersh
Top achievements
Rank 2
 answered on 21 Sep 2009
3 answers
141 views
Here's my scenario. I have an ArrayList of HashTables (a table of rows, if you will), and I want to populate a report with its data.
-The Report Wizard has a business object, I was wondering if it were possible to point it to a class that conatins my data in said form
- If not, can I be pointed to a tutorial that states how a List works
-Ideally, I would like to treat said data structure as reports work when you have a sql table (Fields.colname)
Gersh
Top achievements
Rank 2
 answered on 21 Sep 2009
0 answers
128 views

Hi
I want to bind a picturebox Dynamically to an image field in database.
I use this code (I'm Using Northwind Database):

            using (DataClasses1DataContext dc=new DataClasses1DataContext())  
            {  
                var a = from p in dc.Products  
                        join c in dc.Categories  
                         on p.CategoryID equals c.CategoryID  
                        select new 
                        {  
                            ProductName=p.ProductName,  
                            UnitPrice=p.UnitPrice,  
                            UnitInStock=p.UnitsInStock,  
                            CatName=c.CategoryName,  
                            CatPic=c.Picture  
                        };  
                this.DataSource = a.ToList();  
            } 

And when I set Value of picturebox to "=Fields.CatPic" Nothing display.
How I can do that
Thanx
Nima Nima
Top achievements
Rank 1
 asked on 21 Sep 2009
2 answers
150 views
I'm looking for some advice on how to protect reports that are ultimately displayed in ASPX pages.  I have developed a Silverlight 3 application.  Within the application, I am able to execute a report, and display this report in an HtmlPlaceholder or a seperate browser window.  Because this report is embedded within an ASPX page, anyone can simply type in the URL for the report (www.MyWebSite.com/MyReport.aspx) and cause the report to be generated.  These reports contain sensitive data, so I want to make sure that the pages are authenticated appropriately before they can be accessed.  Any suggestions on how to accomplish this?

My environment is IIS 7, my Silverlight 3 application, plus the reports (each embedded in its own ASPX page).  These are anonymous users that must log into my Silverlight 3 application.  I do not wnat users to be able to access the ASPX pages without going through the SL3 app.
GEB
Top achievements
Rank 1
 answered on 19 Sep 2009
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?