Telerik Forums
Reporting Forum
4 answers
355 views

This appears to be a new problem with VS2017 (15.0.0+ 26228.10) and Reporting R1 2017

We have a large project that has worked well with VS2015, but after migration to VS2017 we are seeing the designer crash when we try to open a Value editor (Edit Expression) when the project has a User Function defined. 

I tried to add this one user function to the Sample report project downloaded from Telerik (CSharp.ReportLibrary)

public static class OurCompanyFunctions
    {
        [Function(Category = "Testing", Namespace = "OurCompanyNameSpace", Description = "What will happen?", IsVisible = true, Name = "FunctionName")]
        public static string ValueIsNull(object val)
        {
            return "did it work?";
        }
    }

 

I tried to change the "Value" on a Text box by opening the Edit Expression editor. 

Here is the Exception in the event log

 

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException

Server stack trace: 
   at System.Linq.Enumerable.Cast[TResult](IEnumerable source)
   at Telerik.Reporting.Design.Common.Utils.AggregateFunctionHelper.GetAggregateFunctions(IServiceProvider provider)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.<GetAggregates>d__28.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.FillAggregates(Category funcCategory, IServiceProvider provider)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.CreateHierarchy(IServiceProvider provider, Boolean isFieldsTreeVisible)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.LoadCategories(IServiceProvider provider)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(System.Object, System.Runtime.Remoting.Proxies.MessageData ByRef)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog+LoadCategoriesDelegate.EndInvoke(System.IAsyncResult)
   at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.OnLoadCategoriesComplete(System.IAsyncResult)
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

Silviya
Telerik team
 answered on 20 Mar 2019
1 answer
810 views

We are using Telerik Viewer in Winform. 

Is it possible to change the default layout view from 100% to Whole Page? When we generate the report, we want this option to be selected automatically. 

 

Neli
Telerik team
 answered on 19 Mar 2019
1 answer
898 views

Hi all,

Is it possible to pass object with set of fields to sub report. I was going to load all data in main report and pass some parts to subreport but there are only simple types for parameters and no object type. is it possible via report designer or I have to convert to visual studio? report is quite complex

 

thanks in advance

Silviya
Telerik team
 answered on 19 Mar 2019
10 answers
997 views

I have a report/Invoice that was made using the Report Designer, so it's in trdp format.  It is server up via a MVC vb.net RESTful reporting service.  Despite countless setbacks due to the Telerik Report dynamic limitations, I actually have it working, but there it one final nail that needs to be pounded into the coffin...the Invoice Logo.  It, much like every things else in our system, is not static.  It needs to be set, to correspond to what company happens to be running the Invoice with that particular request.

The million dollar question, how does one dynamically set a picturebox in a trdp report via a call to a RESTful reporting service?  

I have a sinking feeling this is going to involve the ReportPackager. The Reports Controller is very simple:

Namespace Controllers
    <RoutePrefix("api/Reports")>
    Public Class ReportsController
        Inherits ReportsControllerBase
 
        Protected Overrides Function CreateReportResolver() As IReportResolver
            Dim reportsPath = HttpContext.Current.Server.MapPath("~/Reports")
 
            Return New ReportFileResolver(reportsPath).AddFallbackResolver(New ReportTypeResolver())
        End Function
 
        Protected Overrides Function CreateCache() As ICache
            Return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache()
        End Function
 
    End Class
End Namespace
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 18 Mar 2019
10 answers
567 views

Our main project is a Asp.NET core 2.0 MVC project that targets .NET Core 2.0. We would like to add Telerik reporting to our project. 

Unfortunately I cannot do that directly since the Telerik report engine is using GDI+ and therefore the project must target classic .net. This means I must do this in a separate project so I can not re-use services like authentication on the controllers etc. Second and more important, our project must run on linux which the reporting service can not. Also we would like to dynamically render the report viewer pages and not be depended on static html pages like the Html 5 report viewer. Because of this limitations Telerik reporting is now not an option for us.

So my questions is will Telerik reporting get full .net core support in the future so we can target .net core too? 

 

Best Regards,

Michel

Ivan Hristov
Telerik team
 answered on 18 Mar 2019
2 answers
591 views

Hi 

It works in visual studio more in linux happens the error "Unable to get report parameters."

Has anyone had this problem yet?

Thank you 

Marcelo

Silviya
Telerik team
 answered on 18 Mar 2019
0 answers
158 views

I would like to create a subgroup with a clustered graph. The first group will be the columns headers and the second one, the description in my first column.

The axis will be represented this way :

X - 2 groups

Y - The corresponding value between the 2 groups

I am using Telerik 2016.

English is not my first language, but I think that the image in attached files sums what I am trying to do.

Thanks in advance!

Claudia
Top achievements
Rank 1
 asked on 15 Mar 2019
3 answers
1.0K+ views
Hi, I have a panel in the body of the report that must appear only in the first page but as far as we can not use the PageNumber property outside the header/footer is there any other way to do this?
Silviya
Telerik team
 answered on 15 Mar 2019
7 answers
229 views

 

Hello,

I want to create a website project with asp.net.

And now I want to implement a ReportViewer in my project.

But when I drag and drop a reportviewer from the toolbox to the

MainContent of a masterpage, i get an error shown in the attached screenshot.

I can ignore this error and click OK, but when I want to set a ReportSource

there comes another warning.

Perhaps it is related to each other.

Is it not possible to drop a reportviewer to a MainContent of a masterpage?

 

 

 

 

 

Silviya
Telerik team
 answered on 15 Mar 2019
1 answer
88 views
How to work with dynamic data source or json data source
Silviya
Telerik team
 answered on 15 Mar 2019
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?