Telerik Forums
Reporting Forum
3 answers
129 views
Hi Telerik team,

After update to Q3 2011, the NavigationGroup is not rendering very well.

Here is my Html content:
<asp:Content ID="ReportContent" ContentPlaceHolderID="cphReport" runat="server">
    <div>
        <div>
            <telerik:ReportViewer ID="rvReportTravels" runat="server" Width="1150px" Height="800px"
                Report="ComUT.Reporting.Library.Stops, ComUT.Reporting.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
            </telerik:ReportViewer>
        </div>
    </div>
</asp:Content>

Do you have any idea how to solve this problem?

Thanks
Giuliano Caetano
Steve
Telerik team
 answered on 29 Nov 2011
3 answers
485 views

Hi

 

I am trying to export report programmatically, after user changes the page settings for dynamically created report. Report has one column that displays images located on web server. When pdf is generated programmatically file shows error for every image in image column.
Error message:
An error has occured while processing PictureBox 'Imgquestion':Could not find a part of the path 'D:\BaseData\forms\forms\Image\00PlainImage.jpg'.

 

I.e. Its taking absolute path of image. It is necessary to me that export report programmatically according to users inputted settings.

If report get exported (ex. PDF format) using inbuilt export utility of report viewer object, then exported report file (i.e. pdf) would contains images as those displays in report viewer.

 

Please let me know how to fixed this issue.
Michael
Top achievements
Rank 1
 answered on 29 Nov 2011
6 answers
231 views
hi guys,

Im using a objectdatasource and after selecting my data method, and giving values to the data parameters im having problems,  an error apears while processing the report its because some of my parameters are nullable, but im not sure now what value i have to send
i tried nothing null -1  and nothing seems to work, any guesses?
Tomas
Top achievements
Rank 1
 answered on 29 Nov 2011
7 answers
797 views
I have a DateTime field in my database that allows nulls.  When I bring the records up to the UI, they come up as DateTime? properties on an object.  I have put "=Fields.<DateField>.Value" in the Textbox.Value, but when displaying the report, the textbox shows an error that '.Value' is not valid.

I would like to put =Iif(Fields.DateField.HasValue,Fields.DateField.Value,""), but cannot get anything to work...

Is something like that allowed?
Steve
Telerik team
 answered on 29 Nov 2011
3 answers
164 views
Dear Team,

In the telerik Reporting we have an option,  convert to Pdf 

When i convert my the report containing Chart it not fitting in one page,  

While convert to PDF i need to change any setting to fit to one page.


Thanks in advance

Best Regards
Purna.
Elian
Telerik team
 answered on 29 Nov 2011
1 answer
236 views
I'm trying to build a telerik report programmatically, but I can't find ShapeType = SquareShape (in Telerik.Reporting.Drawing.Shapes). Square is a shapetype in report designer. Anybody who knows how to create squares programmatically?
Elian
Telerik team
 answered on 29 Nov 2011
13 answers
996 views
Hello,

I'm developing web app where each user have his own database, so I'm creating report datasource in code.

Example:
        Dim cnn As New OracleConnection(Session("cnnString").ToString)
        Dim sql As String = "SELECT * FROM sometable"
        Dim adapter As New OracleDataAdapter(sql, cnn)
        Dim table As New DataTable
        adapter.Fill(table)

        Dim report As New Reports.MyReport
        report.DataSource = table

That report have one subreport, but I don't know how to set subreport's datasource in code.

Thanks,

Marin Mašić
Mohamed
Top achievements
Rank 1
 answered on 29 Nov 2011
2 answers
120 views
We have a simple report, that lists people by group and gender. The report combines a table and a chart. The table appears accurately, but the chart seems to move the values around so that the values appear under different groups. You can see what I mean from the attached screen shot.

The chart is configured as follows; default type is stacked bar, xaxis.datalabelscolumn is groupname, datagroupcolumn  is gender.

The data source has three columns; groupname, gender, and a count.
ACFN    Male    1
FMFN    Female    1
FMFN468    Female    1
N-CAN    Male    1
OABO    Male    2
OCAN    Male    1
OLNA    Male    1

Both genders don't always show up in the result set for any specific group; could that be the issue?

Any and all suggestions are appreciated.
Derek
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
133 views
I am currently trialing the Telerik reporting tool.
I have successfully created a cross tab report which is fine as long as I don't set the data source at runtime.
If I set the data source at runtime the report loses its groupings.

I have tried setting the grouping again in code but it makes no difference.
Could someone please tell me what I am doing wrong?

Cheers

Jason

Code
            OCMBusinessLogic logic = new OCMBusinessLogic();
            IList<AOSMatrix> matrixdata = null;


            matrixdata = logic.GetAOSMatrix("11/12", "ba_eng");


            MessageBox.Show("Rows " + matrixdata.Count.ToString());


            AOSModuleMatrix rpt = null;
            rpt = new AOSModuleMatrix();
            rpt.ReportParameters["ReportTitle"].Value = "Programme matrix for [programme family]";


            Telerik.Reporting.Group grp = new Telerik.Reporting.Group();
            grp.Name = "AOS";
            grp.Groupings.Add(new Telerik.Reporting.Data.Grouping("=Fields.AOScode"));
            rpt.Groups.Add(grp);
            rpt.DataSource = matrixdata;


            ReportProcessor reportProcessor = new ReportProcessor();
            Hashtable deviceinfo = new Hashtable();
            deviceinfo["FontEmbedding"] = "Subset";
            RenderingResult result = reportProcessor.RenderReport("PDF", rpt, deviceinfo);


            FileStream fs = new FileStream("c:\\telerik.pdf", FileMode.Create);
            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
            fs.Flush();
            fs.Close();


            MessageBox.Show("Generated");

Elian
Telerik team
 answered on 28 Nov 2011
0 answers
164 views
hi!

i don't have sql server on my computer but i still want to see the source code of the demos that come with the MSI file. How can i have access to them?

I think it would be great if the demos could be installed without any instance of SQL Server! But in the meantime, is it possible to download them somewhere?

alex
Alexandre Jobin
Top achievements
Rank 1
 asked on 28 Nov 2011
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?