Telerik Forums
Reporting Forum
1 answer
171 views
I have created a sample project here, please download it and let me know what is the issue?
https://www.dropbox.com/s/98ufwhrgnj19bdw/SampleReportTest.zip

I need help in generating a sample report can you please help?
I create a design report file and assign it a ObjectDataSource where its datasource is a class.

In my code behind, I give a datatable with the same fields as of the class to render on my report, but its just doesn’t display the rows? Any ideas what I might be doing wrong?

See sample project from my dropbox link above. Also, note once I build the dataexplorer shows no fields/properties of the objectDataSource1.

Rajiv 
Stef
Telerik team
 answered on 04 Aug 2014
1 answer
155 views
Hi,

I am trying to conditionally skip code when in design mode, and normally use the following:

if (LicenseManager.UsageMode == LicenseUsageMode.Designtime)
               return;

However, when previewing reports hooked up to a temporary objectdatasource, this above code does not work.  Is there a way to determine if I am in report preview mode?  The reason I ask is that I want to bypass the _NeedDataSource event if I am in VS and previewing the report.

Thanks,
David A.
Stef
Telerik team
 answered on 04 Aug 2014
1 answer
65 views
Hello Everyone

I have a reporting service running on a server with cross-orgin enabled, and i am accessing the reports using report viewer on my client side.
This works well on following browsers (Firefox, Chrome , IE-Edge, IE-10) except on IE 9.

when i run it on IE 9 it gives me a script error

SCRIPT1014: Invalid character
File: telerikReportViewer-8.1.14.618.js, Line: 726, Column: 17

Is there something i am missing somewhere because i even tried different versions of ReportViewer but i still get the error.

Thanks In advance


KS
Top achievements
Rank 1
 answered on 04 Aug 2014
1 answer
102 views
I am trying to source a field from a Method instead of a Property on the Object, is there anyway to accomplish this?

public class MyObject()
{
   public PropertyA{get;set;}
   public string GetValue(string Name)
    { 
        return "XYZ";
    }
}

In my Dynamic Report I am trying to do something like:

rowTextBox.Value = "=GetValue(\"" + columns[i].Name +"\")";
dataTable.DataSource = new List<MyObject>();



But it doesn't appear to find and execute the method.  Any ideas?
Nasko
Telerik team
 answered on 04 Aug 2014
1 answer
50 views
Hello,

I'm used to using Crystal Reports and being able to have multiple sections for Group Headers. This allows me to show some of the group headers (the column headers for the details section on every page, and the description of the group only once.

I'm becoming more familiar with using panels, but I don't see a way in the conditional formatting on how to make a panel only print once in the group section while leaving the rest of the data to print on every page.

Any help would be greatly appreciated.

Philip Carter
Philip
Top achievements
Rank 1
 answered on 03 Aug 2014
1 answer
248 views
Is there a field property to have the resulting value be the empty string when an expression evaluates to NaN or Infinity?

I know how to work around this by using a string property that formats the value for me, but I was wondering if there was a code-less way.

Thanks
TechSavvySam
Top achievements
Rank 1
 answered on 01 Aug 2014
5 answers
510 views
I know I can control the page scaling of Exported PDFs using the "ViewerPrintScaling" rendering extension.  However, it appears this setting is ignored when using the Print button on the toolbar.  Instead, PDFs are always scaled.  It would be nice if PDFs always respected the rendering extension configuration (even when printing).  Or is there some other way that I can force printed PDFs to not scale?

Thanks,
-Stephen
Stef
Telerik team
 answered on 01 Aug 2014
1 answer
61 views
When viewing a report in IE 11, it produces an "access denied" error on line 493 of http://localhost:40311/Telerik.ReportViewer.axd?optype=Resource&version=8.1.14.618&name=Resources.ReportViewer.js

This works fine in Chrome.

When debugging, the error is due to paramsFrame.contentWindow, which is what throws the access is denied exception.

I believe this is a CORS issue, however I am running locally within visual studio 2010 using ASP.NET Development Server.
KS
Top achievements
Rank 1
 answered on 01 Aug 2014
3 answers
85 views
When the following line is included in the web.config, the export feature in the Html5 Report View fails for Chrome and Firefox.

<system.webServer>
     <modules runAllManagedModulesForAllRequests="true">
             <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
     </modules>
</system.webServer>

Please advise since we would like to keep the compression active on our site.
Konstantin Dikov
Telerik team
 answered on 01 Aug 2014
8 answers
1.7K+ views
Hi,

I want to use 'if' in value of textbox item.
 It's possible ?
Nasko
Telerik team
 answered on 01 Aug 2014
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?