Telerik Forums
Reporting Forum
0 answers
140 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
328 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
455 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.2K+ 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
364 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
313 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.4K+ 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
211 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
1 answer
97 views

I have a Table of Contents control in my telerik report, which works fine in preview mode and when exported to PDF, but when i export as a word document, each TOC link directs me to the top of the page. 

Is there a solution for this?

Todor
Telerik team
 answered on 28 Feb 2022
1 answer
343 views

Hello;

First I wrote my SQL query. As you can see in picture 1 my SQL query is working. I'm designing with Crosswizard. You can see it in Picture 2. Then I press the Preview button, the fault in picture 3 occurs. However, you can see in picture 1 that my SQL query is running. So what is the solution for this error?

Yana
Telerik team
 answered on 25 Feb 2022
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?