Telerik Forums
Reporting Forum
5 answers
240 views
I installed Telerik 2011 Q3 on XP SP3, VS 2008 SP1 succesfull. but when starting VS 2008, An dialog appear :

Package Load Failure
Package 'Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.20.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' has failed to load properly (GUID = {xxxxxxxxxxxxxxxxxxxxx}}. Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to load this package in the future? you may use 'devenv /resetskippkgs' to re-enable package loading.

and then in VS 2008 I can't see menu Telerik => Reporting ( include submenus of Reporing...) and don't have Data Explore, Group Explore,...window.
I don't know how to fix it. I've installing Telerik Reporting 2011 Q2 and it run normally. After uninstaling Q2 and installing Q3, above err appear.
Please help me.

Milen | Product Manager @DX
Telerik team
 answered on 23 Oct 2012
1 answer
89 views

Hadib Ahmabi
Top achievements
Rank 1
 answered on 23 Oct 2012
1 answer
333 views
Hello,

I am working on a report that resembles mostly a crosstab, thatswhy I consider using it. 
My problem is to solve the binding of the objectdatasource, that is a List inside a List.

Looks like the following:

public class GroupedLine
    {
        public string Group { get; set; }
        public BookingType Type { get; set; }
        public BookingStatus Status { get; set; }
        public List<WeeklyStat> WeeklyStats { get; set; }
    }


    public class WeeklyStat
    {
        public DateTime WeekStart { get; set; }
        public decimal Sum { get; set; }
        public int Count { get; set; }
    }

I create a DataSource binding to the CrossTab to this list: List<GroupedLine> GroupedLines.

But I am having trouble figuring out the binding of WeeklyStats that can have as many elements as the number of weeks the user selects in the report parameters. 

I'd like to ask for advice how to accomplish a result like this (in case the selection covers a 5 weeks range):

                                 	Week 22     Week 23     Week 24     Week 25     Week 26
                                       
May28-Jun3  Jun4-10     Jun11-17    Jun18-24    Jun25-Jul1
           
Group   Type    Status      Cnt. Price  Cnt. Price  Cnt. Price  Cnt. Price  Cnt. Price
           
----------------------------------------------------------------------------------------------
           
Group1  Online  New         3   450     0   0       0   0       0   0       0   0
           
Group2  Phone   Accepted    0   0       1   80      1   110     0   0       0   0
           
Group3  Store   Accepted    0   0       0   0       0   0       1   225     0   0      
           
Group3  Store   Invoiced    0   0       0   0       0   0       2   440     0   0          
IvanY
Telerik team
 answered on 23 Oct 2012
1 answer
150 views
I have a multi-select Visible report parameter with AllowBlank set to True. When the user de-selects all values in the multi-select, they get a validation error indicating that the parameter is required. Why is this?

Note, if I select AllowNull for the parameter, I get a "NULL" checkbox next to the parameter in the UI, which looks completely ridiculous. I don't want to set it to NULL, I just want to not select any values...

How can I fix this?
Peter
Telerik team
 answered on 22 Oct 2012
3 answers
220 views

We have a report with a chart works fine loading it from the class and setting the data source at run time and load it in the report control works fine. The same report we are serializing(Telerik.Reporting.XmlSerialization.ReportXmlSerializer)

and storing it in the database and deserializing it and then setting the data source at run time but when we load it in the report control it says have no or empty data series. 

Patrick
Top achievements
Rank 1
 answered on 22 Oct 2012
1 answer
1.4K+ views
Hey All,

I have a text field that I need to format as a date.  Sometimes this field is null, in which case, I can just display an empty value.

I'd like to be able to do this:

=IIf(IsNull(ESR_UDF116, "") = "", "", IIf(Len(ESR_UDF116)=8, Substr(ESR_UDF116,4,2) + "/" + Substr(ESR_UDF116,6,2) + "/" + Substr(ESR_UDF116,0,4),""))

The logic being, if the value is null, then return an empty string.  If the value is not null, then do the formatting.  My formatting hinges on the value being 8 characters long, so I have another embedded IIf that checks the Len of the field.  And that is the problem.

Per the documentation, the functions are evaluated completely *first* and the results passed to the functions.  In this case, when my field is Null, the Len function throws an error and hoses up my report.

It seems logical to me that the functions would be evaluted in precendent order so that the Len call would *never be made* if the field value is Null.

Has anyone ever achieved this desired result?

For a null, show nothing, for a non-null, show a formatted result that involves evaluating on the field itself.
Mark Jordan
Top achievements
Rank 1
 answered on 19 Oct 2012
3 answers
926 views
how to bind datasource from C# to the report and load report file .trdx?
please give me an example..
thank you
Peter
Telerik team
 answered on 19 Oct 2012
3 answers
93 views
Hi Telerik,
Please help me how to achieve this:

I have a stored procedure (MS SQL 2008) which is accepting some parameters and returns series of ids of for example invoices. I need to print every invoice on a new paper. I can create  one report for one invoice, but I don't know, how to cycle throug the ids to print all invoices. Or may be, I can create one long for example MS Excell document containing a page breaks to print every inoivce on a new paper. 

Thank you for any help. 

Tom

Steve
Telerik team
 answered on 19 Oct 2012
1 answer
140 views
Hi, I have encountered an issue using Telerik Reports v6.1.12.820. When in the report designer in VS2010 and you open the expression builder, if you cancel it before "Loading..." completes in the lower left panel VS2010 crashes.

Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean) at System.Windows.Forms.Control.BeginInvoke(System.Delegate, System.Object[]) 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.DoAsyncCall() at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 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()

-Tony
Steve
Telerik team
 answered on 19 Oct 2012
1 answer
277 views
Since Telerik Reporting does not handle XML data very well, I am trying to create a simple solution. I have some XML being returned as part of my data source. I also have a function that takes an XML String and a XPATH query String. I then loop through the nodes returned from the XPATH query and build an HTML table.
  For some reason the HTML TextBox is converting my HTML Table at runtime to a simple DIV element. Is there any way around this?


Thanks very much for your help.
IvanY
Telerik team
 answered on 19 Oct 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?