Telerik Forums
Reporting Forum
0 answers
99 views
Hello everyone,

So if I used an embeded xml file as an datasource for my telerik report, how does this embeded file get refreshed with the new data?

Thanks for your help!

Bryan Doan
Top achievements
Rank 1
 asked on 01 Sep 2010
1 answer
154 views
Hello,

I am using the latest version of telerik reporting (Telerik_Reporting_Q2_2010_v4_1_10_714_dev).

I created a report, with tables, subreports and some conditional formatting. When using the winforms reportviewer the export to excel work fine, but when using the silverlight reportviewer, I only get a part of an error message. Sadly I have to use the silverlight reportviewer, cause it is needed to show the report in a silverlight application. Exporting the report to excel is needed too, cause the user should be able to copy parts of the report in some existing documents.

This error message is shwon in the little window, where I should normally Save the report. The shown Message is "Merged=False, PBreport[0], that i" ... There is some text before and some text after, but its not visible in this window. It's shown in the picture I attached.

The export to rtf is working, but I needed the export to excel, cause the export to rtf, delivers some strange formating results. Some tables are not exported, as they are defined in the report. The export to pdf is also working.

So what can I do, to get this problem solved?

best regards
Dominik.
Steve
Telerik team
 answered on 01 Sep 2010
3 answers
132 views
Hello,

I use the DocxFormatProvider class to show the MS Word document in my Silverlight Project.
Screenshot of this document is attached as "msword_doc.jpg".
But the formatting is incorrect when I see this document on my Siverlight page - screenshot is attached as "silverlight_doc.jpg"

Is there any idea to prevent incorrect formatting?

Thank you.

PS. forum's file extension limitation is the reason why I can't attach original .docx file...
Ivailo Karamanolev
Telerik team
 answered on 01 Sep 2010
1 answer
159 views
I have created a paramater that allows the user to enter a keyword, and use a like statement to return the results. This works fine, however, the search appears to be case sensitive. Is there any way to make the parament non case sensitive?

=Fields.ModDescription    like     ="%" + Parameters.KWSearch.Value +"%"

The soultions I have seen on the forum suggest that I would need to use the TOUPPER in my parameter. I do not see how that would work on a word such as Cable, where only the first letter is capitalized.
Peter
Telerik team
 answered on 31 Aug 2010
1 answer
171 views
Hi,

The default legend shape is Rectangle. I would like to show Line in the legend. I cannot show other shapes for Line chart. I see Line is not supported in Legend.
I see from other post(other products of Telerik), the alternate way. But none of those works for Telerik reports.

Here is what i'm doing following other post, to show the legend as Line.
Telerik.Reporting.Charting.LabelItem wirlegendItem = new Telerik.Reporting.Charting.LabelItem(WIRseries.Name);
wirlegendItem.Marker.Appearance.FillStyle.MainColor = System.Drawing.Color.Black;
wirlegendItem.Marker.Appearance.Figure = Telerik.Reporting.Charting.Styles.DefaultFigures.Rectangle;
wirlegendItem.Marker.Appearance.FillStyle.FillType = Telerik.Reporting.Charting.Styles.FillType.Solid;
wirlegendItem.Marker.Appearance.Dimensions.Margins.Top = Telerik.Reporting.Charting.Styles.Unit.Pixel(0);
wirlegendItem.Marker.Appearance.Dimensions.Margins.Bottom = Telerik.Reporting.Charting.Styles.Unit.Pixel(0);
wirlegendItem.Marker.Appearance.Dimensions.Margins.Left = Telerik.Reporting.Charting.Styles.Unit.Pixel(5);
wirlegendItem.Marker.Appearance.Dimensions.Margins.Right = Telerik.Reporting.Charting.Styles.Unit.Pixel(5);
wirlegendItem.Marker.Appearance.Dimensions.Paddings.Top = Telerik.Reporting.Charting.Styles.Unit.Pixel(5);
wirlegendItem.Marker.Appearance.Dimensions.Paddings.Bottom = Telerik.Reporting.Charting.Styles.Unit.Pixel(5);
wirlegendItem.Marker.Appearance.Dimensions.Paddings.Left = Telerik.Reporting.Charting.Styles.Unit.Pixel(0);
wirlegendItem.Marker.Appearance.Dimensions.Paddings.Right = Telerik.Reporting.Charting.Styles.Unit.Pixel(0);
this.chtWFRWIR.Legend.Items.Add(wirlegendItem);

Is there any alternative to achieve this?


Thanks
Steve
Telerik team
 answered on 31 Aug 2010
0 answers
180 views
Hi All,
                  I am using Telerik Reporting Q2 2010 in asp.net mvc 2.

I added a report class Report1.cs(Add-> New Item -> Telerik Report Q2 2010) then in report wizard I selected objectdatasource. As guided in http://www.telerik.com/help/reporting/objectdatasource-wizard.html , I have wriiten a class Customer and class Customers. All the fields in class customer are public and following is the code for class Customers :

    [System.ComponentModel.DataObject]
    public class Customers : System.Collections.Generic.List<Customer>
    {
        [System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select)]
        public static List<Customer> GetCustomerDetails()
        {
            //Code
        }
    }

then in ObjectDataSource Wizard->Select a Business Object->the "Show data components only" check box is checked and Customers class is selected->Choose a data source member - Here the methods written in class customers are not visible.

What could be the reason???

In Controller:

        public ActionResult CustomerReport()
        {
            Report1 rptH = new Report1();
            return View("CustomerReport",rptH);
        }

For ReportViewer :
<script runat="server">                       
  protected override void OnPreRender(EventArgs e)
  {
      rvReport.Report = ViewData.Model;
  }
</script>
<form id="Form1" runat="server">  
    <telerik:ReportViewer ID="rvReport" runat="server">
    </telerik:ReportViewer>
 </form>

                         Can anyone suggest how to bind the result retrieved from the Customers:GetCustomerDetails() to Report1 and how the fields of class Customer?? How the class Customers is binded to Report1 so that its field will be visible in Data Explorer.

I have downloaded code from http://www.telerik.com/community/code-library/reporting/general/using-telerik-web-reportviewer-in-asp-net-mvc-application.aspx But the class Report1.cs in ClassLibrary1 Project gives error.

devika godse
Top achievements
Rank 1
 asked on 31 Aug 2010
1 answer
79 views
The report is rendering on the WebDev.WebServer but not in IIS7 in the same machine (Windows Server 2008 R2, SQL Server 2008 R2, Viusal Studio 2010). I am looking for a reporting tools on aspx for a cleint and I'm testing the version 2010_1_10_423.
Steve
Telerik team
 answered on 31 Aug 2010
1 answer
111 views
Hi,
I'm trying to pass a list of guids to a report but it does not work (there are no results).
SELECT     [...]
FROM         [...]
WHERE     (Object_ID = @ObjectID) AND cast(Node_OrganisationID as varchar(40)) IN (@OrganisationList

the sql statement directly on the sql server works:
SELECT [...]
FROM     [...]
WHERE   (Object_ID = '4c10e1f9-288c-441d-827d-cb2ca8bf85ac') AND cast(Node_OrganisationID as varchar(40)) IN ('83E37722-61A0-4780-8F4C-00D39FB6AA92','BB85E950-3BC4-4A2A-B413-791730D58A5D',[...])

'83E37722-61A0-4780-8F4C-00D39FB6AA92','BB85E950-3BC4-4A2A-B413-791730D58A5D' Does not seem to be the correct syntax to pass the guids to the parameter in telerik. Can you help me with the correct syntax?

Thanks
Peter
Telerik team
 answered on 30 Aug 2010
7 answers
343 views
Dear all,

I am using mvc 2.0 and i want to use telerik reortviewer to display telerik report.is it possible. I want some sample for that.

best rgds
Azeheruddin khan
David
Top achievements
Rank 1
 answered on 30 Aug 2010
0 answers
78 views
I have to display data that has about 40 columns for employees. Even in landscape the data cannot be contained in a single page. So for ten employees I will get 3 pages that contains all 40 columns. The first page is fine because I can see the names of the employees.

The problem is the second and third pages. The data on those pages continues where the previous page ended. Even if the data continues, I want the names of the employees to still be displayed on the second and third page.

Can this be achieved and how?
Oboro
Top achievements
Rank 1
 asked on 30 Aug 2010
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?