Telerik Forums
Reporting Forum
4 answers
569 views

Hello,

I'm using WebServiceDataSource to connect with database through odata. In database there is InventoryDocDetail table which has Product property referenced to Product table.

I'm connecting to InventoryDocDetail and printing the product's Sku property on my report. The problem here is InventoryDocDetail.Product may be null. In this case, I just want to print nothing. Currently it gives null reference exception error(See attached Error.JPG file).

I saw many forums, but no one helped me. For example, I wrote like this expression in textbox: = iif(Fields.Product is null, "this is null", Fields.Product.Sku), but it still showing error when product is null.

     1. How can we solve the issue?

     2. Can we use C# expression here like this: "= Fields.Product?.Sku" ?

 

Todor
Telerik team
 answered on 17 Jun 2019
1 answer
179 views

Hi,

I have some columns that sometimes may have null values... I got the null rows to shrink with CanShrink = True in Layout property, but it seems this doesn't seem to work on the columns...I've attached some pics... Any help?

Neli
Telerik team
 answered on 13 Jun 2019
1 answer
127 views

Hello,

I have graph with Y axis (date) and i need hide date without values. It is possible?

 

 

Neli
Telerik team
 answered on 12 Jun 2019
1 answer
1.0K+ views
Hello. I'm trying to find an explanation of what the difference is between ReportSource And DataSource in Telerik Reporting. Also, is there an analogy that the two could be compared to? Many thanks for your time.
Neli
Telerik team
 answered on 10 Jun 2019
1 answer
94 views

Hi,

 

I am facing a issue in integration report in my application.

How to create the report in telerik.

I have tried to add the reportviewer on page and bind the reportsource with trdp file(designer) but

after run page show blank.

Please help me to resolve this issue.

 

Thanks,

Dipendra

 

Neli
Telerik team
 answered on 07 Jun 2019
3 answers
493 views

Hello Guys, 

I've used this font Eczar (Marathi) in one of my reports. When I preview the report, the fonts are displayed well as designed. But when I export the same to PDF the fonts won't show up.

Todor
Telerik team
 answered on 07 Jun 2019
1 answer
184 views

Hi,

I would like to have a list of objects which all inherit of the same type but can have some specific properties.

Exemple:

public class MyPrimaryClass
{
    public int CommonProperty { get; set; }
 }
 
public class MyInheritedClass1 : MyPrimaryClass
{
    public int SpecificProperty1 { get; set; }
 }
 
public class MyInheritedClass2 : MyPrimaryClass
{
    public int SpecificProperty2 { get; set; }
 }

 

And I would like to display these specific properties and if possible display each object in a specific format. Do you have an idea of how I can do that using telerik reporting ? I can't find any example or thread on this topic, but maybe I just didn't use the right key words ;)

Thanks and regards,
Olivier

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 06 Jun 2019
2 answers
1.3K+ views

Hello,

i have a field returning Boolean Value (True/False), and i want to Sum another field Named (Total) in the footer section when my Boolean Value return TRUE for each record in the detailed section  

Thanks.

Rod
Top achievements
Rank 1
 answered on 05 Jun 2019
5 answers
463 views
Hi there,

using the standalone report Designer to create trdx report, the often
in C# described method  will not work fpr TRDX based subReports!

an error has occurred while processing subreport 'subreport2':
Bindings rror Property 'DataSource' does not exist.

everbody knows, in C# way, it works like:
this.subReport1.Bindings.Add(new Telerik.Reporting.Binding("ReportSource.DataSource""=ReportItem.DataObject.Persons"));

but using the Standlone Designer (TRDX file), for the binding, he cannot find DataSource ?
...
        <SubReport Name="subReport2">
          <ReportSource>
            <UriReportSource Uri="ReportLines.trdx">
            </UriReportSource>
          </ReportSource>
          <Bindings>
            <Binding Path="ReportSource.DataSource" Expression="=Fields.Lines" /> ----- .DataSource is not found
          </Bindings>
        </SubReport>
...
thank you for helping
Steffen

Silviya
Telerik team
 answered on 05 Jun 2019
3 answers
1.3K+ views

I have two List : 1)  ListPolicies, (Outer list, parent list)

                           2) ListBrokers (inner list, child list)

 

Class DataBind
{
public list <Policy> PolicyList {get;set;}
}

class Policy
{
public PolicyNumber {get;set;}
public PolicyName {get;set;}
public List<Broker> {get;set;}
}

class Broker
{
public Name {get;set;}
public Address {get;set;}
}​

 

bind data to parent list

ListPolicies.DataSource = defaultReportViewModel.PlanProvider.PolicyList;​

 Now i want to bind data childlist, how to achieve this thing???

 

Silviya
Telerik team
 answered on 04 Jun 2019
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?