Telerik Forums
Reporting Forum
1 answer
113 views

Hi,

 

Can you please give me a sample code how I can add multiple bookmark id in the report?

Im loading data from a textfile and load it in a 1 textbox. From there, I want to add multiple bookmarks.

 

Please give me a sample code how I can do it? Already browsed your docs but only description are available.

 

Thanks,

Katia
Telerik team
 answered on 29 Nov 2017
2 answers
110 views

HI,

 

I have a report with one sub report. On sub-report i have a list where items are aligned to horizontal. I set KeepTogheter = True and Page Break = After.I need for each project details other new page.

The problem is the "Project Number" which is populated only one time but all information for the projects are populated to report without project number. Page break doesn't work also.

I attached a print about the situation

Thank you
Silviya
Telerik team
 answered on 28 Nov 2017
1 answer
1.2K+ views

Hi,

 

How do I change the forecolor of specific string in a textbox in telerik reporting in code behind?

Im pretty sure that I will put the code in the databind event but how do I code there?

For example, the string data is "Change the string property of the textbox" in a textbox. Now I want to change the forecolor to of "property" and the "textbox" to yellow and I want to make it Bold.

How do I do that?

Thanks,

 

Silviya
Telerik team
 answered on 24 Nov 2017
1 answer
96 views

I have a problem after upgrade my project from Q1 2014 to Lasr version 2017 of telerik components and reporting. I solved the problems at the all components but at Reporting still have problems and i don't know why.

 

I have few reports which contain 2-3 subreports. After upgrade my parameters on NeedDataSource has value 0. but on sender the value is ok.

I tried few methods to extract the value but only one works.

    Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;<br>           
    string idUser = report.Parameters["idUser"].Value.ToString(); <br>           
    this.llDs.DataSource = new Service().GetLLGridModel((int.Parse(idUser)));

If i put: int idUser = report.Parameters["idUser"].Value or int.Parse(this.ReportParameters["idUser"]).Value.ToString()).  the value will be 0 I don't understand why?

 

Any other solutions? because my solution it's a trick but not clean code. i made cast to string to extract a value from object and then cast from string to int to pass to function...

Thank you

 

 

Katia
Telerik team
 answered on 24 Nov 2017
0 answers
73 views

Is there a way to generate barcodes by a list of numbers.

And print them directly.

 

I am Using C# .

Thanks!

Alex
Top achievements
Rank 1
 asked on 24 Nov 2017
3 answers
429 views

I upgraded from Telerik Reporting R3 2017 (version 11.2.17.913) to Telerik Reporting R3 2017 SP1 (version 11.2.17.1025)

The export options for Excel and Word are no longer present (but were available before the upgrade.

My project has references to both DocumentFormat.OpenXml v2.5.5631.0 and Telerik.Reporting.OpenXmlRendering v11.2.17.1025, both have CopyLocal = true

My web config has the following sections

<Telerik.Reporting>
  <assemblyReferences>
    <add name="ComplianceRisk.Data" />
  </assemblyReferences>
  <Extensions>
    <Render>
      <Extension name="IMAGE" visible="false" />
      <Extension name="MHTML" visible="false" />
      <Extension name="PPTX" visible="false" />
      <Extension name="RTF" visible="false" />
      <Extension name="XLS" visible="false" />
      <Extension name="XPS" visible="false" />
      <Extension name="DOCX">
        <Parameters>
          <Parameter name="UseMetafile" value="false" />
        </Parameters>
      </Extension>
      <Extension name="XLSX">
        <Parameters>
          <Parameter name="UseMetafile" value="false" />
        </Parameters>
      </Extension>
    </Render>
  </Extensions>
</Telerik.Reporting>

 

<dependentAssembly>
  <assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  <bindingRedirect oldVersion="2.0.5022.0" newVersion="2.5.5631.0" />
</dependentAssembly>

 

I don't see anything in the release notes, so wondering what I might need to do to get this working again...

Best,
Scott

 

 

Katia
Telerik team
 answered on 24 Nov 2017
6 answers
1.3K+ views

 

when i get report large data

about 5 - 10 minute code is error

 

 

Help me Please.

Thank you.

Silviya
Telerik team
 answered on 24 Nov 2017
1 answer
498 views

I have a report that does something funny to the table at the end of a page.  Please see the attached highlighted yellow region.  How can I make the table not add this strange outer, blank border at the end of every page?

 

Please help.  Thank you!!!!

Todor
Telerik team
 answered on 24 Nov 2017
1 answer
752 views
Hi,

I'm currently using Telerik.ReportViewer.Html5.WebForms.ReportViewer (Telerik Reporting v11.2) to display a report on a webpage with some parameters. How can I invoke programatically the Print command from the WebForms.ReportViewer object to print directly without showing Print dialog Box.


Thanks.
Silviya
Telerik team
 answered on 23 Nov 2017
5 answers
317 views
Hi there,

I am looking at generating reports based on a class that has the following structure:

public class DataItem
{
    public string ItemHeader { get; set; }
    public string ItemContent { get; set; }
    public string ItemFooter { get; set; }
}
 
public class ReportingDataSource00
{
    public ReportingDataSource00()
    {
        DataItems = new List<DataItem>
                        {
                            new DataItem {ItemContent = "ItemContent00", ItemFooter = "Footer00", ItemHeader = "Header00"},
                            new DataItem {ItemContent = "ItemContent01", ItemFooter = "Footer01", ItemHeader = "Header01"}
                        };
        ReportHeader = "Header";
        ReportFooter = "Footer";
    }
 
    public string ReportHeader { get; set; }
    public string ReportFooter { get; set; }
    public IEnumerable<DataItem> DataItems { get; set; }
}

ReportingDataSource00 has data that needs to be displayed only once on the report (header and footer), as well as a list of elements that need to be displayed in a table.  

When I try to use ReportingDataSource00 as a ObjectDataSource, the wizard will only recognize the properties Header and Footer.  Is it possible to use the DataItems list as a datasource for a list in the detail section of the report?

Best regardes




Katia
Telerik team
 answered on 22 Nov 2017
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?