Telerik Forums
Reporting Forum
0 answers
590 views

Hello,

I'm trying to add a dashed horizontal line and a dashed vertical line to a report.

First question: how can I have the line at the top of the page (this is a sub-report)?

Second question: is it possible to customize the dashing?

I have lines that are 0.5pt width and the line looks almost like a solid line, excepted when looking with a magnifier!

Best regards

Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 11 Mar 2022
0 answers
276 views

Getting an error, while using method. What can be the reason ? 

Version using:  "Assembly RadGridReportingLite, Version=1.10.2.1, Culture=neutral, PublicKeyToken=null"

Dim report As New RadGridReport("")

report.ReportFormShow(Me, Me.rgvPrint)

Error Details

System.MissingMethodException
  HResult=0x80131513
  Message=Method not found: 'Telerik.WinControls.UI.MasterGridViewTemplate Telerik.WinControls.UI.RadGridView.get_MasterGridViewTemplate()'.
  Source=RadGridReportingLite
  StackTrace:
   at RadGridReportingLite.RadGridReport.GetRowHeight(RadGridView grid)
   at RadGridReportingLite.RadGridReport.GetGridDimensions(RadGridView grid)
   at RadGridReportingLite.RadGridReport.ReportFormShow(IWin32Window owner, RadGridView radGridView)
   at AdecBkOfficeAdmin.frmReportft.PrintMethodNew()
0 answers
187 views
In send email popup in format dropdown i need to show only PDF and CSV.  other than pdf and csv all other format should not be display. how can i do this
Mohan
Top achievements
Rank 1
 asked on 11 Mar 2022
1 answer
402 views

I have some table groups. I would like to hide the dynamic of each column group depending on the user option.

the example I have 3 groups

with 2 checkboxes. 

if check box 1 = tick =>display group 1

if checked 2 box = tick =>display group 2

If I used <TableGroup Name="group28" Visible="True/False"> it can show/hide. But not dynamically

If I used like this. It can not work.

<TableGroup Name="group28">

                      <Bindings>
                        <Binding Path="Visible" Expression="= IIf( Parameters.InclAccessDetails.Value=True,False,False)" />
                      </Bindings>

Does TableGroup not support Visible with expression?

Thanks

Dang Le        

Todor
Telerik team
 answered on 10 Mar 2022
0 answers
548 views

This is no longer an issue. Is export fine with latest packages:

<PackageReference Include="DocumentFormat.OpenXml" Version="2.8.1" />
<PackageReference Include="Telerik.Reporting" Version="16.0.22.225" />
<PackageReference Include="Telerik.Reporting.OpenXmlRendering" Version="16.0.22.225" />

 

Problem was "xlxs" rather than xlsx".

Claus
Top achievements
Rank 1
 updated question on 10 Mar 2022
2 answers
1.3K+ views
Hi,

I upgraded from .net  3.1 to .net 5.0 ..

When i start program locally everything works (rendering etc, i have result and base64 string of pdf)  but inside docker it is not working ..

Do you have any ideas ? I pasted dockerfile

#FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine  AS build
FROM mcr.microsoft.com/dotnet/sdk:5.0  AS build
ARG APP_ENV=omtest1

#app run environment
ENV APP_ENV $APP_ENV

WORKDIR /src

COPY test/*.csproj test/
COPY telerik/*.csproj telerik/
#COPY WorkerService3/*.csproj WorkerService3/
RUN dotnet restore  test/test.csproj

# copy and build app and libraries
COPY  test/  test/
COPY  telerik/ telerik/
#COPY  WorkerService3/ WorkerService3/

WORKDIR /src/test
RUN dotnet build -c release

#app ports to be exposed
EXPOSE 5000
EXPOSE 2000

FROM build AS publish
RUN dotnet publish -r linux-x64 -o /app/publish

# final stage/image
#FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine
FROM centos:7.5.1804
#FROM mcr.microsoft.com/dotnet/sdk:5.0
RUN 		yum install wget -y && \
	yum install -y epel-release && \
	rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm && \	
	yum install glibc-devel -y && \
        yum install -y libgdiplus-2.10-10.el7.x86_64 && \
        yum install libX11-devel -y && \
	yum install dotnet-sdk-5.0 -y && \	
        rm -rf /var/cache/yum 
WORKDIR /app/telerik
EXPOSE 2000
COPY --from=publish /app/publish .

ENV ASPNETCORE_URLS http://*:2000
RUN cd /app/telerik &&  \
    cp te36013t_0.ttf TeleNeo-Regular.otf TeleNeo-Bold.otf TeleGroteskNor_0.ttf te36016t_0.ttf ConnectCode39_0.ttf /usr/share/fonts/
CMD dotnet test.dll --environment development


Bob
Top achievements
Rank 1
Iron
 answered on 08 Mar 2022
0 answers
428 views

Hi Friends,

 I am unable to render the  Telerik Report in the .net core App.

          ReportSource report = new InvoiceTest(); //calling from the dll
                    report.Parameters.Add("id", 1);
                    report.Parameters.Add("UserId", invoice.userId);
                
                    RenderingResult result  = reportProcessor.RenderReport("PDF", report,null);

                    if (!result.HasErrors)
                    {
                        string fileName = result.DocumentName + "." + result.Extension;
                        string path = System.IO.Path.GetTempPath();
                        string filePath = System.IO.Path.Combine(path, fileName);

                        using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
                        {
                            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
                        }
                    }

My error message like :

InnerException = {"Format of the initialization string does not conform to specification starting at index 0."}

your help on this would be greatly appreciated

 

 

 

 

 

 

1 answer
379 views

Hi,

 

I am using Standalone Telerik Report Designer and trying to input a data into text box highlighted with red square (refer the attachment). I was inserting the textbox directly (look blue arrow) without inserting a table first as pageHeaderSection cannot be inserted with table. However, I found that No data source shown in the data explorer. Can someone guide me on how to input data into the textbox directly without inserting table first?

 

Thank you.

4 answers
2.7K+ views
Hi
I creating a simple List report. When I tries to add parameter and fill it from data source I am getting this exception
missing or invalid parameter value. please input valid data for all parameters 

Can any one help please..


Thanks
Magnus
Top achievements
Rank 1
Iron
 answered on 01 Mar 2022
1 answer
253 views

Hello,

 

I want to assign the values of these parameters from session variables when I load the page with report.

I used session and couldn't load the report.

 

Thanks for your help!

Todor
Telerik team
 answered on 28 Feb 2022
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?