Telerik Forums
Reporting Forum
1 answer
248 views
Using Telerik Reporting we've added a parameter which from Visual Studio, the parameter drop down list is populated when using the preview and HTML preview options, however, when viewing the telerik viewer from within a content page via a browser on the localhost a javascript error is being thrown which results in the parameter drop down list not being populated.

IE
the error (using IE Debugger) is thrown on line 171 
  var editor = eval(this.editors[i]);

Chrome
Uncaught SyntaxError: Unexpected identifier
Telerik.ReportViewer.axd?instanceID=f2db9c5d5e964019af4aa5add4b49b89&culture=en-US&uiculture=en-US&optype=Parameters:24

Firefox
Error: missing ; before statement
Source File: http://localhost:13764/AttendanceApplication/Telerik.ReportViewer.axd?instanceID=6f0850262fc74e58a2eb18afabef1f65&culture=en-US&uiculture=en-US&optype=Parameters
Line: 54, Column: 13
Source Code:
         var parameterEditorChoose Employee_valueEditorChoose Employee = new MultiCheckBoxValueEditor('parameterEditorChoose Employee_valueEditorChoose Employee_textBoxChoose Employee', 'parameterEditorChoose Employee_valueEditorChoose Employee_ta1', true

Error: missing ; before statement
Source File: http://localhost:13764/AttendanceApplication/Telerik.ReportViewer.axd?instanceID=6f0850262fc74e58a2eb18afabef1f65&culture=en-US&uiculture=en-US&optype=Parameters
Line: 58, Column: 11
Source Code:
       var parameterEditorChoose Employee = new ParameterEditor('parameterEditorChoose Employee_valueEditorChoose Employee', 'parameterEditorChoose Employee_nullSelectorChoose Employee', 'parameterEditorChoose Employee_InvalidValueImage');  

Steve
Telerik team
 answered on 02 Sep 2010
3 answers
226 views
Hi,

    We are using telerik reporting for export in our project..We are facing an issue in print functionality in safari browser.The safari browser doesnt print the report and not even responds to it..We are using telerik:ReportViewer and printing the report using the below code

          var viewer = <%=rptTextBasedAdvantages.ClientID%>;
          viewer.PrintReport();

This works for IE and Mozilla firefox .Please help us in resolving in this issue.This is very critical.I searched for many solutions but ended up with no results.

Thanks
Jashvanthi
Steve
Telerik team
 answered on 02 Sep 2010
1 answer
176 views
Is it possible to print a telerik report using a point of sale thermal printer

The page height is variable and therefore the height should be automatic so the details column does not get divided,
Peter
Telerik team
 answered on 01 Sep 2010
0 answers
115 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
183 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
171 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
185 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
198 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
194 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
97 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
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?