Telerik Forums
UI for Blazor Forum
1 answer
55 views

Hello

We are looking for ways to export the UI Blazor TreeList to Excel. I don't see it in Demos and Documentation. Do you have any suggestions on how to accomplish this? Any code examples you can provide?

 

Thank you!

Min-Jie

Hristian Stefanov
Telerik team
 answered on 03 Dec 2024
1 answer
48 views

On the Telerik website, more specifically on Blazor Charts and Graphs - Overview, you can find a nice example of how to change the theme of the charts displayed. We would like to implement something like this in our project. However, a change in the theme affects the entire project. However, we would like the entire project not to be changed and the change in the theme only affects the Telerik chart.

I would like to know if anyone has a good idea for us.

Hristian Stefanov
Telerik team
 answered on 02 Dec 2024
1 answer
44 views

Hi,

Is there a way to set the Y-axis culture directly within the chart? I prefer not to apply the culture globally.

Thank you,
Omar

Hristian Stefanov
Telerik team
 answered on 02 Dec 2024
1 answer
44 views

Hi,

I have chart within child component, the chart is create dynamically.

After populating the chart, I would like to clear it. How to clear the chart? 

Thanks,

Omar


<TelerikChart  @ref="GNChart">

    <ChartSeriesItems>
        @{
            var swedishCulture = new CultureInfo("sv-SE");
        }
        @foreach(var group in ChartData.Select(c=>c.text).Distinct().ToList())
        {
            <ChartSeries Type="ChartSeriesType.Line"
            Data="@ChartData.Where(c=>c.text==group)"
            Name="@group"
            Field="@nameof(ChartDataClass.value)"
            CategoryField="@nameof(ChartDataClass.month)">

                <ChartSeriesTooltip Visible="true">
                    <Template>
                        <TelerikSvgIcon Icon="SvgIcon.InfoCircle" />
                        @((context.DataItem as ChartDataClass).value.ToString("N0", swedishCulture)) |   @((context.DataItem as ChartDataClass).text)
                    </Template>
                </ChartSeriesTooltip>

            </ChartSeries>
        }

        <ChartValueAxes>
            <ChartValueAxis Color="purple">
                <ChartValueAxisLabels Format="{0:N0}"></ChartValueAxisLabels>
            </ChartValueAxis>
        </ChartValueAxes>


    </ChartSeriesItems>

    <ChartTitle Text="Quarterly revenue per product" Visible="false"></ChartTitle>

    <ChartLegend Position="ChartLegendPosition.Bottom">
    </ChartLegend>
</TelerikChart>

Hristian Stefanov
Telerik team
 answered on 02 Dec 2024
1 answer
129 views

I have a Telerik Grid and it freezes when it has almost 3k rows. I have identified two reasons for that.

One: I have put custom margin and padding on cell-level. Suggest me some efficient way to achieve this style without hitting the performance issues

Second: I have a TelerikSplitButton in one of my columns which makes it more slower.


But even removing above two things, plain TelerikGrid still takes about 2-3 seconds to load only 3k rows.

I have pagination on my grid but pagination sizes cannot be very smaller. I need to show Datasets in thousands or more.

Suggest me some best approaches to achieve this with custom design and template.

Hristian Stefanov
Telerik team
 answered on 02 Dec 2024
1 answer
43 views

Multiple clicking on button causing method(SaveAndSubmitClicked) to call twice. Even keeping bool variable(IsClicked ) to disable button not working.

OnClick="() => {IsClicked = true;SaveAndSubmitClicked();

Hristian Stefanov
Telerik team
 answered on 02 Dec 2024
1 answer
37 views

I'm having an issue where my users set Desktop scaling to 300% and as a result my grid will collapse and not show any rows of data making users think there is no data.  I can Ctrl + Mouse wheel to adjust the browser scaling, but that's not really a good option to convey to users.

I've tried using:

Height="calc(34vh - 10rem)"

Property but not really able to solve the problem no matter how much I adjust the values.  What I was hoping to see is a "MinHeight" property for the grid but no such property exists?

Am I seeking something isn't possible with the Telerik Grid?

Rob.

Dimo
Telerik team
 answered on 28 Nov 2024
1 answer
37 views

One of the DropDownButtonItem in my TelerikDropDownButton control is Delete.

The OnClick method for the Delete DropDownButtonItem uses Dialogs.ConfirmAsync to make sure that the user really wants to perform the delete.

The issue is that the Delete button item is still visible when the ConfirmAsync window pops up. Depending on where the TelerikDropDownButton is on the page, the DropDownButtonItem overlaps the ConfirmAsync window.

Here's an example that shows the DropDownButtonItem is visible when the popup is displayed: https://blazorrepl.telerik.com/GylvcgFS09nqh4ZM26

Is there a way to hide the DropDownButtonItem after it is clicked?

Tsvetomir
Telerik team
 answered on 28 Nov 2024
1 answer
40 views

Hi,

Hi I am writing an app where user can upload files (multiple at once) and each file will have custom data attached to it.

How do I access individual files and attach custom data to each file once I load them into the select file grid?

Almost like a SelectedItem event in a grid where I can access the individual files which I click on it.

I can use the OnUpload and OnSelect to send custom data and look through all the files but They aren't bind to the individual file.

Example, I have data like a description for each individual files that I want to send with it when I upload and write to the database. How do I bind that data to the file?

Nadezhda Tacheva
Telerik team
 answered on 25 Nov 2024
0 answers
34 views

I am working with an excel template (.xlsm) that contains dropdowns, buttons, images, charts and few shapes. I use Telerik radspread processing to read this template and insert data into it. However, when I download the modified excel file (.xlsm), these elements are missing.

It seems that RadSpread Processing is unable to read or preserve these elements. Is there a way to retain them when manipulating .xlsm files, or any workaround to handle such cases?

Any guidance or suggestions would be greatly appreciated.

Manisha
Top achievements
Rank 1
 asked on 22 Nov 2024
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?