This is a migrated thread and some comments may be shown as answers.

Telerik Reporting no supporting more than 3 Functions and user functions

2 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dalexsoto
Top achievements
Rank 1
dalexsoto asked on 25 Jan 2011, 08:22 PM
I started a trial and I am creating a report using a static class that its on the same report for data retrieval purpose by means of example here is the code of the static class

using System;
 
namespace ExampleReport
{
    public static class bringData
    {
        public static string data1 { get; set; }
        public static string data2 { get; set; }
        public static string data3 { get; set; }
        public static string data4 { get; set; }
   public static string data5 { getset; }
    }
}

and the report class includes this custom methods that retrieves information from the bringData Class

public static string test1() { return bringData.data1; }
public static string test2() { return bringData.data2; }
public static string test3()  {   return bringData.data3;    }
public static string test4()    {   return bringData.data4; }
public static string test5()    {   return bringData.data5; }

then on 5 diferent telerik textboxes on the report header section using the expression context menu I select custom function and Bind each custom function to each textbox i.e   = data1()

but if I use more than 3 custom functions/functions I get a blank report, and if I use 3 or less custom functions/functions i get the expected behaivor of bringing the contents of the source class

is this a known bug issue?? suggestions?

2 Answers, 1 is accepted

Sort by
0
dalexsoto
Top achievements
Rank 1
answered on 25 Jan 2011, 08:23 PM
by the way im using the latest Telerik reporting version Q3
0
Accepted
Steve
Telerik team
answered on 28 Jan 2011, 05:49 PM
Hello David,

We have not been able to reproduce such a problem on our end. Find attached a sample report that shows our observation.

Best wishes,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
dalexsoto
Top achievements
Rank 1
Answers by
dalexsoto
Top achievements
Rank 1
Steve
Telerik team
Share this question
or