Telerik Forums
Community Forums Forum
1 answer
15 views

Hi Telerik Team,

We are using the Standalone Telerik Report Designer to create .trdx reports and upload them to a local Telerik Report Server. Our application is built in ASP.NET MVC and uses a helper function to load reports from the server using  UriReportSource the embedded Report Viewer.

Helper Function:

public static class ReportExtension
{
    public static IReportViewerBuilder GetReportViewerConfig(this HtmlHelper htmlHelper, string reportId, string reportSource, Dictionary<string, string> reportParams)
    {
        var uriReportSource = new UriReportSource
        {
            Uri = reportSource
        };

        foreach (var param in reportParams)
        {
            uriReportSource.Parameters.Add(param.Key, param.Value);
        }

        return htmlHelper.TelerikReporting().ReportViewer()
            .Id(reportId)
            .ReportServer(new ReportServer()
            {
                Url = ReadConfigData.REPORT_SERVER_URL,
                Username = ReadConfigData.REPORT_SERVER_USERNAME,
                Password = ReadConfigData.REPORT_SERVER_PASSWORD
            })
            .ReportSource(uriReportSource)
            .ViewMode(ViewMode.Interactive)
            .ScaleMode(ScaleMode.FitPageWidth)
            .PersistSession(false)
            .SendEmail(new SendEmail { Enabled = true })
            .Parameters(new Parameters
            {
                Editors = new Editors
                {
                    MultiSelect = EditorTypes.ComboBox,
                    SingleSelect = EditorTypes.ComboBox
                }
            })
            .EnableAccessibility(false);
    }
}

Currently, we have separate Report Server instances for each environment (local, staging, production). This setup works fine, but it's becoming inefficient because:

  • Whenever we create or modify a report in the local Report Server, we have to manually re-upload the same report to staging and production.

  • Even for small changes, we need to repeat the entire process for each server.

  • There's no easy way to track or sync updates between environments.

We are looking for a way to sync reports across report servers, or at least streamline the update process.

Is there any built-in support, recommended approach, or workaround to:

  • Automatically sync reports from one Report Server to another?

  • Export/import reports in bulk?

  • Keep multiple environments in sync efficiently?

Any guidance or tooling suggestions would be greatly appreciated. Thanks!

Best Regards,
Prabesh Shrestha

1 answer
16 views

Hi Telerik Team,

I'm using Telerik Reporting in an ASP.NET MVC application. I have a generic helper method to configure the Telerik Report Viewer using a UriReportSource. Here's the function:

public static class ReportExtension { public static IReportViewerBuilder GetReportViewerConfig(this HtmlHelper htmlHelper, string reportId, string reportSource, Dictionary<string, string> reportParams) { var uriReportSource = new UriReportSource { Uri = reportSource }; foreach (var param in reportParams) { uriReportSource.Parameters.Add(param.Key, param.Value); } return htmlHelper.TelerikReporting().ReportViewer() .Id(reportId) .ReportServer(new ReportServer() { Url = ReadConfigData.REPORT_SERVER_URL, Username = ReadConfigData.REPORT_SERVER_USERNAME, Password = ReadConfigData.REPORT_SERVER_PASSWORD }) .ReportSource(uriReportSource) .ViewMode(ViewMode.Interactive) .ScaleMode(ScaleMode.FitPageWidth) .PersistSession(false) .SendEmail(new SendEmail { Enabled = true }) .Parameters(new Parameters { Editors = new Editors { MultiSelect = EditorTypes.ComboBox, SingleSelect = EditorTypes.ComboBox } }) .EnableAccessibility(false); } }

The Problem:

I'm using DateTime parameters (e.g., dateFrom, dateUntil) in my reports, and they appear in the report

parameter panel with the format MM/dd/yyyy. I want to show these dates as dd/MM/yyyy.

 



My Questions:

1. Is it possible to customize the display format (e.g., dd/MM/yyyy) of DateTime parameters in the parameter input panel?

2. If not, is there any workaround — such as setting culture explicitly for the viewer?

Regards,

Prabesh Shrestha


Justin
Telerik team
 answered on 28 May 2025
1 answer
14 views

Hello Telerik team,

I am currently working on a report using Telerik Report Designer, and I need to allow users to filter data based on a date range (i.e., "from" and "to" date). In Kendo UI, we have a convenient DateRangePicker component that allows selecting both dates in one UI control.

My question is:
Does Telerik Report Designer support a single “date range” parameter, or do we need to use two separate parameters? DateTime parameters (e.g., DateFrom and DateUntil) to simulate this functionality?

Is there any built-in way to do it using one parameter, or a recommended approach to simulating a range? Please let me know.

Regards,

Prabesh Shrestha

Petar
Telerik team
 answered on 27 May 2025
2 answers
21 views

 

Hi Telerik Team,

I’m designing a Telerik Report Designer report that includes a line chart with markers. I want to replicate a feature that exists in Kendo UI line charts, where:

  • Clicking on a legend item toggles (hides/shows) the corresponding series in the chart.

This is especially helpful when multiple lines are present, and users want to focus on specific data. Here’s an example screenshot of the chart I’m working with:

My questions:

  1. Does Telerik Reporting support interactive legend click behavior similar to Kendo UI Charts?

  2. If not directly supported, is there any workaround that can help achieve this functionality?

 

Regards,
Prabesh Shrestha

 

 

Prabesh
Top achievements
Rank 1
Iron
Iron
 updated answer on 20 May 2025
1 answer
40 views

 

Hi Telerik Team,

I am designing a report using Telerik Report Designer and have connected multiple Web Service Data Sources that require 2-step authentication.

The reports are stored on the Telerik Report Server and are displayed in my ASP.NET MVC project using report server credentials and the report path (Category/ReportName). I have created the following function to connect to the report server:

using System.Web;
using System.Web.Mvc;
using Telerik.Reporting;
using Telerik.ReportViewer.Mvc;
using System.Collections.Generic;
using System;

namespace Project.Extensions
{
    public static class ReportExtension
    {
        public static IReportViewerBuilder GetReportViewerConfig(this HtmlHelper htmlHelper, string reportId, string reportSource, Dictionary<string, string> reportParams)
        {
            var uriReportSource = new UriReportSource
            {
                Uri = reportSource
            };

            foreach (var param in reportParams)
            {
                uriReportSource.Parameters.Add(param.Key, param.Value);
            }

            return htmlHelper.TelerikReporting().ReportViewer()
                .Id(reportId)
                .ReportServer(new ReportServer()
                {
                    Url = ReadConfigData.REPORT_SERVER_URL,
                    Username = ReadConfigData.REPORT_SERVER_USERNAME,
                    Password = ReadConfigData.REPORT_SERVER_PASSWORD
                })
                .ReportSource(uriReportSource)
                .ViewMode(ViewMode.Interactive)
                .ScaleMode(ScaleMode.FitPageWidth)
                .PersistSession(false)
                .SendEmail(new SendEmail { Enabled = true })
                .Parameters(new Parameters
                {
                    Editors = new Editors
                    {
                        MultiSelect = EditorTypes.ComboBox,
                        SingleSelect = EditorTypes.ComboBox
                    }
                })
                .EnableAccessibility(false);
        }
    }
}


Scenario: My API domain is https://abcapi.com, which is used in every report under the "Configure Data Retrieval" window of the Web Service Data Source.

My Requirement: If the domain name changes, I have to manually update the domain in every report and each Web Service Data Source, which is time-consuming and inefficient.

Question: Is there a way to set the domain name dynamically, so that I only need to update it in one place? Also, where is the configuration of each Web Service Data Source stored — is it in the database or somewhere else?

Regards,
Prabesh Shrestha

Petar
Telerik team
 answered on 09 Apr 2025
0 answers
26 views
how to add border in bottom all border are allready apply but bottom border not apply give me solution in this problem how to apply bottom boder
Priyanka
Top achievements
Rank 1
 asked on 28 Feb 2025
2 answers
102 views
Hello,

We are attempting to use the Telerik Report Server for our project. We have installed the Telerik control panel on the server and also hosted it. The Telerik Report Server is connected to our project in the .NET application. However, while building the project with the Telerik Report Server, we are unable to download the required nugget packages for the project. This issue was encountered on January 30, 2025.

What did we do?

Step 1. We managed the Telerik credentials in the NuGet config file, as mentioned in the following URL: https://docs.telerik.com/aspnet-core/installation/nuget-install. The configuration added is as follows:

<?xml version="1.0" encoding="utf-8"?>
    <configuration>
     <packageSources>
        <!--To inherit the global NuGet package sources remove the <clear/> line below -->
        <clear />
        <add key="nuget" value="https://api.nuget.org/v3/index.json" />
        <add key="telerik" value="https://nuget.telerik.com/v3/index.json" />
     </packageSources>
     <packageSourceCredentials>
        <telerik>
          <add key="Username" value="telerik account email" />
          <add key="ClearTextPassword" value="plain text password" />
       </telerik>
     </packageSourceCredentials>
    </configuration>

Note: We found no issues with the credentials.

Step 2. We are using Jenkins (auto-deployment) to download the NuGet packages for the project to build also. The following command was used, but it resulted in an error stating that the packages could not be downloaded from the source.
nuget.exe restore "source\Leslinq.sln"

Running the same command in the local command prompt results in the same error, as shown in the Jenkins console log.

Here is a sample of the error log, and the attached files contain additional details:
********************************************************
https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json.
  An error occurred while sending the request.
  Unable to connect to the remote server
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 103.211.149.24:443
  https://nuget.telerik.com/v3/index.json: Package 'SQLitePCLRaw.core.2.0.4' is not found on source 'https://nuget.telerik.com/v3/index.json'.
************************************************************

Step 3: We are unable to proceed due to the "service unavailable" error message.

Could you please advise on how we can use the Telerik Report Server with our .NET project and automatically build it using Jenkins?

Thanks!


Regards,
Prabesh Shrestha
Justin
Telerik team
 answered on 10 Feb 2025
0 answers
27 views

I’m working with a stock chart that has a navigator, but I’m running into two issues:

  1. The endpoints of the navigator are being cut off.
  2. The time intervals on the navigator appear uneven, even though I’ve set the baseUnit to "minutes" and the baseUnitStep to 30.

I’m not sure what’s causing these problems. Any help would be appreciated! Thanks!

Quang
Top achievements
Rank 1
 asked on 23 Jan 2025
1 answer
75 views
In our WPF project, we have an issue with the Telerik data grid that,
> We have implemented a cell style for setting the background colour based on condition by using the MultiValue Converter,

 

Style code:

<Style x:Key="AFLinkCellFGStyle" TargetType="telerik:GridViewCell" BasedOn="{StaticResource {x:Type telerik:GridViewCell}}">
                <Style.Resources>
                <local:AFCellLinkFGConverter x:Key="AFCellLinkFGConverter"/>
                </Style.Resources>
                <Setter Property="Background"> 
                    <Setter.Value>
                    <MultiBinding Converter="{StaticResource AFCellLinkFGConverter}">
                        <Binding RelativeSource="{RelativeSource Self}"/>
                        <Binding />
                    </MultiBinding>
                    </Setter.Value>
                </Setter>
                <Style.Triggers>
                    <Trigger Property="IsSelected" Value="True">
                        <Setter Property="Foreground" Value="Black"/>
                        <Setter Property="FontWeight" Value="ExtraBold"/>
                    </Trigger>
                </Style.Triggers>
            </Style>

 

Converter code:

 public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            if (values[1] is ArcFlashEvalRecord)
            {
                Efx.Assert(values[1] is ArcFlashEvalRecord && (values[1] as ArcFlashEvalRecord).pData != null, "FIX THIS - expecting ArcFlashEvalRecord and ArcBusData");
                GridViewCell cell = values[0] as GridViewCell;
                ArcFlashEvalRecord record = values[1] as ArcFlashEvalRecord;
                GridViewColumn column = cell.Column;
                if (column != null)
                {
                    AF_FieldType field_type = (AF_FieldType)column.GetValue(AttachedProp.TagProperty);
                    return AFCellInfo.GetCellInfo(field_type, record).BgBrush;
                }
            }
            return null;
        }

 

Issue: The issue is the background colour is not set properly for each cell.


Description: Initially the data is loaded and the Telerik data gets rendered in the display, we have more than 10 columns, and some of the last columns are hidden. Initially, the background colour worked properly for all cells. but when we horizontally scroll to the end of the data grid to see the hidden columns, at that time, the background of the cell is not set properly, it randomly sets the background colour for hidden column cells. it's changing every time we scroll.

Stenly
Telerik team
 answered on 31 May 2024
0 answers
70 views

Hi everyone!.

Im trying to put a "NumericTextBox" inside s "ForItem", cause i need extract some validation that i have in another file. and call some method that returns me a math result But when i try it, my proyect fails.

 

someone have  worked with something similar?

Jurgen
Top achievements
Rank 1
 updated question on 29 May 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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?