This is my host os details
NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04"
This is my docker file
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:3.1-bionic AS base
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated \
libc6-dev \
libgdiplus \
libx11-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
EXPOSE 80
EXPOSE 443
RUN ln -s /shared_storage /app/shared
ENV ASPNETCORE_URLS=http://+:80
FROM mcr.microsoft.com/dotnet/sdk:3.1-bionic AS build
WORKDIR /app
#COPY ["MyAPI/MyAPI.csproj", "MyAPI/"]
COPY . ./
RUN dotnet restore "MyAPI/MyAPI.csproj"
#RUN dotnet build "MyAPI.csproj" -c Release -o /app/build
#FROM build AS publish
RUN dotnet publish "MyAPI/MyAPI.csproj" -c Release -o out
FROM base AS final
WORKDIR /app
COPY --from=build /app/out .
ENTRYPOINT ["dotnet", "MyAPI.dll"]
This docker builds my image without any issue but the problem is, when I am trying to access my report, I am getting
Unable to get report parameters. An error has occurred. Type: Telerik.Reporting.ReportSerialization.Current.ReportSerializable`1[Telerik.Reporting.Report]
NB: I have also tried with mcr.microsoft.com/dotnet/sdk:3.1.21-bionic
but this image doesn't exist.
NB: On my development environment, I am using windows 10 and from my localhost I am able to generate the reports without any issue.
Hello,
I follow the Telerik Reporting training course in the Telerik Virtual Classroom conducted by Alex Ziskind, and in the Chapter 3 it requires to install the Telerik.ReportViwer.Blazor.Trial package from Nuget (I am on the Trial licence). But this package is not listed in the collection of NuGet packages available, when I try to install it in Visual Studio.
Can you please advise, how to get this package?
Thank you.
Hello supports,
I want to create subheader that display on every page. I found only settings for header RowHeadersPrintOnEveryPage and ColumnHeadersPrintOnEveryPage. I set these values on true and header is display on every page. Do we have such settings for the subheader or some way to display these subheaders?
Thank you
I have an ASP.Net Core application (MVVC) which will run on Azure.
I need to create a PDF report which mimics the add/edit (View) page. Only one report would be created at a time and it is anticipated that this will be a low volume requirement.
Can anyone point me to any demos/samples that I could follow to create the report?
Thanks
Using the WPF report viewer, I see this message
Where is this 100 seconds defined? Its not a command timeout as I have those either on the default of 30 or set to 120. Is there a client side timeout set on the web requests to the server?
I have a razor page in my Blazor server app with a report viewer control on it (named AllowanceDetailViewer in the code below). I gather the desired parameter values for this report from the user on page 1 and then launch page 2 and pass it those values. On page 2 I want the report to display using the passed values when the page loads.
The issue is where do I put the call to the Refresh() function on page 2? If I put a call in OnInitializedAsync() I get an error that the AllowanceDetailViewer object is null (so it hasn't loaded yet). If I put a call in OnAfterRenderAsync() I get an internal error from the viewer control. Is there a page event I can use where the report viewer is fully loaded and ready for use?
Note: if I add a button to the page and call the Refresh() function from the button click it works fine. That tells me the code in the Refresh() function is working. What I want is to call that code during the initial page load so it happens automatically without the user needing to click on something first.
<ReportViewer @ref="AllowanceDetailViewer"
ViewerId="rv1"
ServiceUrl="api/reports"
ReportSource="@(new ReportSourceOptions
{
Report = "BlankReport.trdp"
})"
ScaleMode="@(ScaleMode.Specific)"
Scale="1.0"
ViewMode="ViewMode.Interactive"
ClientEvents= "@(new ClientEventsOptions() {Ready = "ReportReady"})"
/>
async Task Refresh()
{
rso.Report = "AllowanceDetail.trdp";
await AllowanceDetailViewer.SetReportSourceAsync(rso);
rso = await AllowanceDetailViewer.GetReportSourceAsync();
//code here setting a bunch of parameters, this is just a stub
rso.Parameters["parameter1"] = "new parameter value";
await AllowanceDetailViewer.SetReportSourceAsync(rso);
}
I have a datasource that returns data similar to:
MemberId,
MemberName,
PurchaseItem,
PurchaseDate,
PurchaseAmount
Naturally, the MemberId is going to be repeated in the results, once for every purchase. That's expected because I'm grouping by MemberId in the report.
But when setting up the query using the Configure SQL DataSource wizard, if I execute the query on the "Preview Data Source Results" step of the wizard I get the error "Column MemberId is constrained to be unique. Value '25' is already present'".
Why is this even being checked? There's nothing wrong with a value appearing on more than one row. I'm not inserting to the actual table where the constraint would certainly apply. I'm just selecting data.
Is there a setting I'm missing? If I just ignore the error and don't show any preview, the report itself works fine. It seems to be a bug in the preview.
I'm using MySql as the database.
Hi,
Is there a way to determine the subreport name where the pageheader is being renedered?
I need to make items (textboxes) on the pageheader invisible depending on the subreport it is being rendered on. Is this possible?
Please contact me at mrogers@saberindustries.com
Thank you for your help
Mark Rogers
Is it possible to control the sorting direction of the table via report parameter?
I want to pass Asc or Desc value as Report Parameter and sort the table rows.
Please advice.
Thanks
BV