Telerik Forums
Reporting Forum
0 answers
134 views
Hi
I need your help: I have  report. I must write a user function to handle my values in separate groups.
So I need to pass every values that exist in each groups by expression such as :
= MyFunction(Fields.doneValue)

and in code behind (c#):
public static double? MyFunction(List<double?> valueList)
{
    double? result;
    foreach(var itm in valueList)
     {
          if(item.HasValue)
          result += item.value;
     }
    return result;
}


but this code has error due to its parameter type, List of values can't pass to user function.
what do I do??
Fatima
Top achievements
Rank 1
 asked on 13 Jan 2013
2 answers
246 views
I've created a brand new report and dropped a simple TextBox object on the designer.  Once I change the font size of the textbox, the text disappears and the preview is not displayed correctly.  Please see the following screenshots:

1. Created a new report, dropped a TextBox on designer and updated text.
Screenshot 1

2. I then proceeded to changing the font size of the TextBox and resulted in the following.  The text looks to have disappeared.  I was not able to get the text back even if I changed the font size back to its original value.
Screenshot 2

3. This is the report in preview mode.  I do not know what to make of this.
Screenshot 3

Has anyone else experienced this?  I've already tried reinstalling Telerik Reports.
Kevin
Top achievements
Rank 1
 answered on 11 Jan 2013
1 answer
118 views
I have a bouch of reports, but I wanna join all my reports in just one....


How i can do that?
Steve
Telerik team
 answered on 11 Jan 2013
1 answer
286 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
272 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
282 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
57 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
90 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
428 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
226 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
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?