Telerik Forums
Reporting Forum
1 answer
499 views

The string i am setting the 417 barcode to requires ascii characters 29 (Group separator) and 30 (Record separator) embedded at various places in the label. Somewhere i found that i could insert characters in the report object expression by entering Alt and the decimal ascii code, so alt+29 supposedly gives me the Group Separator. I have done that and my customer says the PDF417 barcode generated does not scan to include those characters. I am ata loss how to do this. Is there a Char() function i could put in the expression, like Char(29)? I've tried that and variation and it produces an error. I am limited to using the standalone report designer.

I have scanned the barcode myself, and since these are non-printable characters, i cannot see evidence of these characters in the resulting text outputted from the scan.

Stef
Telerik team
 answered on 09 Jan 2017
3 answers
556 views

I was wondering if there's a way to do what I need to do with this tool.. Basically I need a multi-row, multi-column detail section in the middle of the page, and more general info surrounding it. For example, if an item number can be associated with many lot numbers this is what I'm trying to do:

ItemNo   ItemNoDetail   LotNo  LotNoDetail  ItemNoDetail ItemNoDetail
                                   LotNo  LotNoDetail
                                   LotNo  LotNoDetail

ItemNo   ItemNoDetail   LotNo  LotNoDetail  ItemNoDetail ItemNoDetail
                                   LotNo  LotNoDetail

 

Any way I can format it like this? I can seperate the lot no as a different sql query, but I'm having lots of trouble trying to get the formatting right

Stef
Telerik team
 answered on 09 Jan 2017
3 answers
689 views
I have a requirement for a report, that when a certain field's value is different from the previous one, I need to add a top border to the cell.
Conditional formatting with the following expression, but it does not produce the desired result. The Last() appearantly does not work in a way I imagined..

= Last(Fields.Name) <> Fields.Name = true

Could I ask for some advice please?
Stef
Telerik team
 answered on 06 Jan 2017
1 answer
61 views
how to avoid page break in last page of the report. Page Break is allowed in Group footer but in last page it insert blank page please help for this problem
Stef
Telerik team
 answered on 06 Jan 2017
3 answers
854 views
Hi all,
I'm getting a value from a query which is an integer that represents a month. How would I convert this integer to an actual month name for displaying in the report? Is there any specific expression or function to be used as I can't seem to find any?

Thanks,
DK..
Stef
Telerik team
 answered on 06 Jan 2017
1 answer
399 views

I am building reports that I would like to embed a picture in. This way I can deploy the file to clients with the picture in the file.

 

Can this be done.? Currently the picture does not display as the picture file is on my computer and not my customers.

 

THanks. 

Stef
Telerik team
 answered on 06 Jan 2017
5 answers
203 views

Hello Forum

I have a report that contains a pie chart and I want to use the datapointlabelconnector (the little line linking the % to the section of the pie chart) only for sections in the pie chart that are too small to fit the actual datapoint label.  

 

The sections of the pie chart correspond to a series group in the graph.  The expression for the DataPointLabel is:

= Sum(Abs(Fields.Exposure)) / CDbl(Exec('graph2', Sum(Abs(Fields.Exposure))))

 

How can I write a conditional formatting expression for the "DataPointLabelConnectorConditionalFormatting" that will use label connectors only when the datapointlabel value is less than 5%?

 

Thanks,
Derek

Stef
Telerik team
 answered on 05 Jan 2017
8 answers
865 views
Hello.

I have an "ImageModel" class List in a data source item. Every "ImageModel" instance contains byte array "Image" field. I need to create and add pictureBox to the panel for every  "Image" field. I try to do it in the panel's ItemDataBinding event handler:

 private void pnlImg_ItemDataBinding(object sender, EventArgs e)
        {
            var panel =  sender as Telerik.Reporting.Processing.Panel;
         
            var imageList = panel.DataObject["ImageList"] as ICollection<ImageModel>;
         
            var pictureBox = new Telerik.Reporting.PictureBox();

            for (int i = 1; i <= imageList.Count; i+=1)
            {
                pictureBox.MimeType = "image/jpeg";
                pictureBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.8D), Telerik.Reporting.Drawing.Unit.Cm(1.3D));
                pictureBox.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional;
                pictureBox.Visible = true;
                pictureBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(i%4==0 ? 0 : 1.8D*i), Telerik.Reporting.Drawing.Unit.Cm(1.3D*(i/4)));
                using (var ms = new MemoryStream(imageList.ElementAt(i-1).Image))
                {
                    pictureBox.Value = Image.FromStream(ms);
                }
                pnlImg.Items.Add( pictureBox );
            }
        }

In the result I get the empty panel. I tried to use Telerik.Reporting.Processing.PictureBox() instead Telerik.Reporting.PictureBox(), but there is no ability to create an instance of a Telerik.Reporting.Processing.PictureBox. Is there any ability to create pictureBox programmatically and add it to a Telerik.Reporting.Panel? I'm using Telerik Reporting Q1 2014 Trial Version.

Thanks!

Chris
Top achievements
Rank 1
 answered on 05 Jan 2017
0 answers
52 views

For pie chart, if  DataClass("xxx", 1) then slice gets out of circle.

Please give me any solution.

Ranjith
Top achievements
Rank 1
 asked on 04 Jan 2017
5 answers
230 views
Hi, 

Can i please get some advice on how to incorporate existing reports in to my ASP.Net MVC application?

The are in a separate project inside the same solution and were created with the telerik report designer for visual studio.
The reports run and can be visualised without any issue, however i have no idea how to display these same reports inside of a view in my main application.

I have looked at the existing  documentation and some of the examples avaiable but i cannot achive the same results.

Some examples stated that i need to have an instance of report server running. other examples state that all i need is to add a report viewer, I tried to add one to my app however the report viwer cannot find my reports because it looks for files of extention TRDX which are not the same as my reports, in fact the report server also seems to use TRDX files.

So can i please get som indication into how to get my reports displaying in my app (based on ASP.Net MVC .net 4.5 (Razor)) . And if needed how can the existing reports be converted to the TRDX format?

Links to a walkthrough example would be greatly appreciated.

Regards
Carlos
Top achievements
Rank 1
 answered on 03 Jan 2017
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?