Telerik Forums
Reporting Forum
1 answer
93 views
Is it possible to "render" a report out to a file or something and then import it back into the report viewer so that people can export it out to different formats at a later time without having ot rerun the report?

Thanks,
Adam
Steve
Telerik team
 answered on 03 Dec 2008
1 answer
273 views
hello all ,
i am using telerik Reporting service ..

i get panel from itemdatabound handler and i want to add dynamically textbox how can i do this ????

here is the MyPanel_ItemDataBound handller code
      void MyPanel_ItemDataBound(object sender, EventArgs e)
        {
                Processing.ReportItemBase itemBase = (sender as Processing.ReportItemBase).Parent;
                Processing.DetailSection section = (itemBase as Processing.DetailSection);
                Processing.ReportItemBase[] NetPanels = (Processing.ReportItemBase[])section.Items.Find("NetPanel", false);
                if (NetPanels.Length > 0)
                {
                Processing.Panel MyPanel = NetPanels[0] as Processing.Panel;
                Telerik.Reporting.TextBox labelCaption = new Telerik.Reporting.TextBox();
                labelCaption.Name = nestedData.Month.ToString() + "_" + EmployeeID.ToString();
                labelCaption.Value = nestedData.Month.ToString();
                labelCaption.Size = new SizeU(new Unit(40), new Unit(40));
                labelCaption.Location = new PointU(ChildLocation, new Unit(10));
                labelCaption.Style.BorderWidth.Bottom = new Unit(10, UnitType.Pixel);
                labelCaption.Style.BorderWidth.Top = new Unit(10, UnitType.Pixel);
                labelCaption.Style.BorderWidth.Right = new Unit(10, UnitType.Pixel);
                labelCaption.Style.BorderWidth.Left = new Unit(10, UnitType.Pixel);
                labelCaption.Style.BackgroundColor = Color.Black;
                labelCaption.Style.Color = Color.White;
                MyPanel,Items.Add(labelCaption); // compilation error here
"Error    103    Argument '1': cannot convert from     'Telerik.Reporting.TextBox' to 'Telerik.Reporting.Processing.ReportItemBase' "
            }
    }
Steve
Telerik team
 answered on 02 Dec 2008
4 answers
362 views
With Q2 2008, I have a report which displays a series of invoices. claims, whatever.  Each new invoice begins a new group on a new page.  An individual invoice can go on for several pages.  After the header info, columns of figures are printed out.  These usually a start about 2/3 of the way down the page, so the column headers are printed at the bottom of the group header.

For the subsequent pages, though, I also need column headers, and am trying to use the page header for this.  The problem is that it prints at the top of every page, even where there is a new group.

How can I suppress the page header when the group is a new one?

Thanks
Mike Thomas
Mike
Top achievements
Rank 1
 answered on 27 Nov 2008
3 answers
225 views
Hello Telerik:

I am working with telerik Report and I have created several reports. Well i would like to export in xml one of them in order to be used for another applications.

I have read in the features of the component that can be done, but  I don't find where this documentation is .

Can you advise me ?


Any help would be appreciate.
Thank you. Pablo.
Steve
Telerik team
 answered on 26 Nov 2008
1 answer
216 views
With VS 2008 and maybe in VS 2005 using the Microsofts reporting tools (Reportviewer, RDLC) you have the option to toggle the visibility of a control based on action taken on another control.  For example I can have a lable that represents "collapse" or "Expand" when user clicks on that label you can wire it up to toggle the visibility of another control such as a subreport.  Telerik support this functionality?
Steve
Telerik team
 answered on 26 Nov 2008
3 answers
403 views
Dear all ,

Can any one help me plz , Ineed to display Crystal report In telerik report viewer
.

Steve
Telerik team
 answered on 26 Nov 2008
7 answers
202 views
iam Using the Telerik Windows report But I Had a Problem When I Using It  , The Problem is Disturbing and It is : -
Delayed the loading of the report in the Windows Application .
How i Can Solve It ?
Please help me quickly ...
Steve
Telerik team
 answered on 25 Nov 2008
1 answer
343 views

What would be the most optimized way to resize an image for a PictureBox in Itemdatabound or itemDatabinding for a report?  I have quite a few images and am tying not to have to manually resize them.

I seem to be missing something

 
        private void detail_ItemDataBound(object sender, EventArgs e)  
        {  
            Telerik.Reporting.Processing.DetailSection procDetail = sender as Telerik.Reporting.Processing.DetailSection;  
            Telerik.Reporting.Processing.PictureBox procPictureBox = procDetail.Items["pictureBox1"as Telerik.Reporting.Processing.PictureBox;  
 
            DataRowView row = procDetail.DataItem as DataRowView;  
 
            string strPath = HttpContext.Current.Server.MapPath(@"~\Img\Product\" + (string)row["ProdImgLRes"]);  
            using (Bitmap bmpIn = new Bitmap(System.Drawing.Image.FromFile(strPath)))  
            {  
                int w = bmpIn.Width;  
                int h = bmpIn.Height;  
 
                int intWidth = 90;  
                int intHeight = (int)(h * intWidth) / w;  
 
                Bitmap bmpOut = new Bitmap(intWidth, intHeight);  
 
                using (Graphics g = Graphics.FromImage(bmpIn))  
                {        
                    g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;  
                    g.DrawImage(bmpOut, 0, 0, intWidth, intHeight);  
                }  
 
                MemoryStream ms = new MemoryStream();  
                bmpOut.Save(ms, ImageFormat.Bmp);  
 
                procPictureBox.Image = Image.FromStream(ms);  
            } 

Thanks,
Dave

 

 

rh
Top achievements
Rank 1
 answered on 25 Nov 2008
3 answers
173 views
I recently took over a machine from the developer that was using the Telerik RadControls for Ajax and Telerik Reporting controls.  I attempted to open the examples installed in this directory: C:\Program Files\Telerik\Reporting Q2 2008\Examples\VB\ by clicking on the solution file.  I used both VS2005 professional and VS2008.  Each attempt gave me the following errors.

The application for project 'C:\Program Files\Telerik\Reporting Q2 2008\Examples\VB\WinDemo\VB.WinDemo.vbproj' is not installed.
Make sure the application for the project type (.vbproj) is installed.

I also received the error for these projects:
WebDemo
VB.ReportLibrary.vbproj

So I uninstalled Telerik Reporting and downloaded it again, and re-installed.  No errors or warnings were observed during the installation.  I then attempted to open the same solution with VS2005 and VS2008 with the same results.
My OS is Windows XP with SP3.

Thanks!
Moon
Top achievements
Rank 2
 answered on 24 Nov 2008
1 answer
78 views
Is it a bug or a design limitation of the Trial version that I cannot either print or save a report in PDF format?

Tariq Changgez
Steve
Telerik team
 answered on 24 Nov 2008
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?