Telerik Forums
Reporting Forum
1 answer
276 views
I'm using the HTML Report Viewer in my Web Application.  On the larger reports (16-23 pages) when you click the Print button it takes forever to pop up if it ever does.  Is there any way to speed up this process and make the printer page come up faster?

I saw reference to a UseNativePrinting in a Silverlight post but I'm not using Silverlight. Is there anything like this for HTML?
Steve
Telerik team
 answered on 11 Jan 2013
4 answers
265 views
I'm porting over allot of Microsoft SSRS Reports to Telerik Reports and binding to DataObjects rather then EntityObjects and the Designer seems to always crash whenever I open the Expression Editor.

I assume it when It's trying to calculated the Fields.

Is this a known issue with the DataObjects or does this also happen with the EntityObjects or even a SQLDataSource.  The data I'm using is messy and flattened for SSRS but this is becoming a major pain and frustration for us.
IvanY
Telerik team
 answered on 11 Jan 2013
1 answer
269 views
Hey,

I have a report with a table and a chart for each column in this table. All these objects use the same Objectdatasource set from the designer. The problem is that the code behind this datasource is called once foreach object. In my case this is 5 times. 

The data returned is always the same so why is the code called once for each object that uses this datasource ?

How can i solve this problem?

if have added a screenshot of the report

Thanks in advance
Sodi We
Peter
Telerik team
 answered on 11 Jan 2013
1 answer
53 views
Hi,

I am using Q3 2012 Report Viewer control. How can I prevent running report automatically on load in Sliverlight? So I want clicking on Preview button only let the report to run on load. I have one parameter to report and I have made it's AutoRefresh to false already.

Thanks
Jaspreet.
Stef
Telerik team
 answered on 11 Jan 2013
0 answers
82 views
Hi , 
i have a report including one detail table . haw can i set the number of line per page ? 

Thank you . 
Sofiene
Top achievements
Rank 1
 asked on 11 Jan 2013
10 answers
400 views

var _rCli = new ReportServiceClient();
var dic = new  NameValueDictionary();
dic.Add("ShoppingListId", 10);

NameValueDictionary dev = new  NameValueDictionary();
dev.Add("OutputFormat", "JPEG");
     
_rCli.RenderAsync("IMAGE", "Test.ModulesReports", dev, dic);

Hi,

Im trying to pass parameter from silverlight application to my report like in code above. I definied ReportParameter at designer but its never updating to value which im passing. 


thanks for any advice.
 
Squall
Top achievements
Rank 1
 answered on 11 Jan 2013
2 answers
213 views
installation of trial worked fine for other components but the reporting will not install, goes through the process right to the end before rolling itself back.

snippet of install log
------------
MSI (s) (44:B8) [08:42:55:713]: Running as a service.
MSI (s) (44:B8) [08:42:55:715]: Hello, I'm your 32bit Elevated custom action server.
MSI (s) (44!4C) [08:42:55:758]: Creating MSIHANDLE (448) of type 790531 for thread 2892
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI8BA8.tmp-\
MSI (s) (44!4C) [08:42:55:759]: Closing MSIHANDLE (448) of type 790531 for thread 2892
MSI (s) (44!4C) [08:42:55:811]: Creating MSIHANDLE (449) of type 790531 for thread 2892
SFXCA: Binding to CLR version v2.0.50727
MSI (s) (44!4C) [08:42:55:811]: Closing MSIHANDLE (449) of type 790531 for thread 2892
MSI (s) (44!4C) [08:42:56:113]: Creating MSIHANDLE (450) of type 790531 for thread 2892
Calling custom action TelerikReportingCA!TelerikReporting.TelerikReportingCA.ConfigSamples
MSI (s) (44!4C) [08:42:56:116]: Closing MSIHANDLE (450) of type 790531 for thread 2892
MSI (s) (44!4C) [08:42:56:136]: Creating MSIHANDLE (451) of type 790531 for thread 2892
ConfigSamples: ReportingInstallDir = 
MSI (s) (44!4C) [08:42:56:138]: Closing MSIHANDLE (451) of type 790531 for thread 2892
MSI (s) (44!4C) [08:42:56:140]: Creating MSIHANDLE (452) of type 790531 for thread 2892
Exception thrown by custom action:
MSI (s) (44!4C) [08:42:56:140]: Closing MSIHANDLE (452) of type 790531 for thread 2892
MSI (s) (44!4C) [08:42:56:143]: Creating MSIHANDLE (453) of type 790531 for thread 2892
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.Deployment.WindowsInstaller.CustomActionData.get_Item(String key)
   at TelerikReporting.TelerikReportingCA.GetServerInfo(IDictionary`2 session)
   at TelerikReporting.TelerikReportingCA.ConfigSamples(Session session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
MSI (s) (44!4C) [08:42:56:144]: Closing MSIHANDLE (453) of type 790531 for thread 2892
CustomAction ConfigureSamples returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (44:E0) [08:42:56:606]: Closing MSIHANDLE (447) of type 790536 for thread 4208
Action ended 8:42:57: InstallFinalize. Return value 3.
--------------
Steve
Telerik team
 answered on 10 Jan 2013
1 answer
441 views
I have my Details section set out as a list rather than as columns.
Meaning it looks like:
Label1   Field1
Label2   Field2
...
rather than
Label1   Label2 ...
Field1    Field2 ...

I have conditional formatting to hide "rows", which works.  Aliases down to AddendaType will hide if they are null.  I tested by putting textBox19 in.  The problem is that the next Details section is still where it would be if those fields printed, leaving a 3 row gap.

I know I remember seeing something about the Header Section not resizing, so I assume my Detail Section is not "shrinking", just the boxes within the Details section shift.

What is the best practice to simulate what I'm trying to do?

Screen shot included of detail page because the data is sensitive.

I was able to get close to what I want, but not in a pretty way, so I'm still hoping someone else has something better.
Clipboard02 shows highly squished row fields, which will expand when data is present, but it doesn't have the proper spacing between rows if multiple rows have data.  I also added a grouping to get a small gap between consecutive Detail sections.
Which leads to question 2:  I wanted to set the group2Footer to visible only if it is not the last Detail section in a Group. So I want to compare = RowNumber() <> Count(Fields.PossibleMatch) , but this doesn't work because the Count returns 1.  Placing the Count in group1Footer gives me the count I want.  Can I get that Count where I want it, or is there another way of saying "If I'm not the last row, then show me"?
Steve
Telerik team
 answered on 10 Jan 2013
1 answer
90 views
Hello Telerik,
in previous control's version it's possible to move on next (previous) page just scrolling down (up), after the upgrade I've to click on next/prev to achieve the same goal..it's possible to have the old behaviour with the new controls?

Thanks a lot
Paolo
Steve
Telerik team
 answered on 10 Jan 2013
2 answers
109 views
I am trying to have one report viewer page where a user gets all reports from my software.  I have many different types of reports that need to be available in that report viewer based on querystring parameters that I pass into the page.  I'm having some difficulty finding documentation that is clear and concise about how I need to approach this.

First, there are potentially several reports that could be needed for any given topic but all related to a given entity, say a specific manifest.  Each of these reports is setup to work with SQLDatasource that is parameterized to expect an @manifest parameter to be used in the where clause of my SQL select statement.  I am first visiting a page in my website that allows the user to specify which reports they wish to produce for a specific manifest.  Let's say there are three possible reports for a specific type of manifest.  They may pick any combination of the three they wish to see produced.

I'm taking their input and passing that as a querystring parameter to allow me, on the report viewer page, to determine which reports to produce for that specific entity; i.e., manifest.

My problem arises from not knowing what I need to do to supply the @manifest parameter to each of the reports that will get included in a report book..

Do I first specify the @manifest parameter for each report and then include that report in a report book?  If so, how do I do that using the instancereportsource type syntax?  Do I have to set up a report parameter separate from the parameter in the sqldatasource and somehow link that to the sqldatasource parameter first?  

What I'm trying to accomplish is to modify the sql select statement for each report to reflect the correct entity in the sqldatasource parameter and then add that report to the reportbook, then move to the next report, modify its select statement then include it in the report book, and repeat this in a loop until all the required reports have been included in the report book at which point I show the finished report book to the user.

Hopefully, I've been clear about what I need to accomplish.  I would greatly appreciate some help figuring out how to proceed as I'm pretty new to the Telerik Reporting product and as usual am under some fairly intense time pressure to "get stuff done".
Stef
Telerik team
 answered on 10 Jan 2013
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?