Telerik Forums
UI for Blazor Forum
1 answer
156 views

I upgraded Telerik Blazor from version 3.6.1 to 3.7.0 and the Donut Chart is broken when the series value is 0.

This is the differences:

This is my REPL link https://blazorrepl.telerik.com/QnuFkUly444cSYuJ13 copied from your demo page https://demos.telerik.com/blazor-ui/chart/donut-chart I just change some of the values to 0.

Just change the Telerik Blazor package version to see the difference

 

 

 

 

 

 

Hristian Stefanov
Telerik team
 answered on 11 Jan 2023
0 answers
78 views
we have the option to template the items to choose from, how about template support for already selected items?
Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
 asked on 10 Jan 2023
0 answers
171 views

Hi, Is there a possibility to configure the events in Gantt by making the bars of the parent wider and inserting text, similar to the dependent events ?

 

The second question is whether I can set the visualized start time in the Gantt and make it dependent on a variable. For example, by saying that by default the period is displayed from today, which fixes the "left border" with today's date.

Thanks.

ProduktionsplanungIGP
Top achievements
Rank 1
Iron
Iron
 asked on 10 Jan 2023
0 answers
97 views

Hello,

I would like to show toolbar, when I click on editor text and hide it when I click away from the component.

Regards,

Matic

matic
Top achievements
Rank 1
 asked on 10 Jan 2023
0 answers
125 views
Hello!
CSS geniuses please help...
The TelerikSplitButton and TelerikButtonGroup components are just made for each other to put together convenient interfaces, but you need a little help with setting them up.
For a perfect display, I need to remove the border, a big right margin and set a transparent background. But I can't get to the classes in dev tools - the container hides as soon as you try to read the DOM. Can you please tell me which class properties should be overridden?
Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 10 Jan 2023
0 answers
168 views

Hello,

 

Is there a way to change the size of the chart legend, thickness/width/height?

 

Emil
Top achievements
Rank 2
Iron
Iron
 asked on 09 Jan 2023
0 answers
210 views

Hi,

We have to migrate and modernize an old application using new development tools and I try to find the tools which can reproduce the features we had so far.

Having a background image in the chart is one of them.

So my question is, can your Blazor chart component have a background in the chart area only as shown in the attached image?

If yes, is it possible to get the position and the size of the chart area in pixels?

This is because the features in the image must fit to XY scales in the chart, so I need to resize the image accordingly.

I would like to make a Blazor Hybrid application.

Thank you

Bertrand

Bertrand
Top achievements
Rank 1
 asked on 06 Jan 2023
1 answer
304 views

I have created a Grid to display a list of rows from a database. I want to have two columns more than the table gives me - one for a text box and one for a submit button. I need the button's OnClick method to be able to access the entire row. Here's what I've got (simplified) and the final text column is not editable:

@page "/pathto/page"
@using Solution.Shared.Models;
@inject HttpClient Http

<TelerikLoader Visible="@(Results == null)" Size="@ThemeConstants.Loader.Size.Medium" />
@if (Results is not null)
{
	<TelerikGrid Data="@Results"
		TItem="@Result"
		@ref="@Grid"
		EditMode="@GridEditMode.Inline"
		OnCreate="@Submit"
		Class="auto-table"
		Resizable="true"
		Sortable="true"
		Pageable="true"
		PageSize="15"
		Height="auto"
	>
		<GridToolBar>
			<GridCommandButton Command="ExcelExport" Icon="file-excel">Export to Excel</GridCommandButton>
		</GridToolBar>
		<GridColumns>
			<GridColumn Field="@nameof(Result.Username)" Width="8%" Editable="false" Groupable="true">
				<Template>
					@{
						string? username = (context as Result)?.username;
						<LinkToAnotherPage Username="@username" Link />
					}
				</Template>
			</GridColumn>
			<GridColumn Field="@nameof(Result.display_name)" Title="Name" Width="8%" Editable="false" />
			<GridColumn Field="@nameof(Result.Date)" Title="Date" Width="4%" Editable="false" DisplayFormat="{0:MM/dd/yyyy}" />
			<GridColumn Field="@nameof(Result.EditableColumn)" Title="Save This Value" Editable="true" Width="18%" />
			<GridCommandColumn Title="Approve" Width="3%">
				<GridCommandButton Command="Add" Icon="checkmark" ShowInEdit="true" />
			</GridCommandColumn>
		</GridColumns>
	</TelerikGrid>
}

@code {
	List<Result>? Results;
	private TelerikGrid<Result>? Grid;

	protected override async Task OnInitializedAsync()
	{
		Results = await Http.GetFromJsonAsync<List<Result>>("Controller/Action");
	}
	private async Task Submit(GridCommandEventArgs args)
	{
		var ex = args.Value; // this should be the edited column
		Result res = (Result)args.Item;
		// do stuff with res and ex variables
	}
}

Can I bind to the value of the editable column's content when the row is clicked? 

Is there a better way to do this?

Yanislav
Telerik team
 answered on 06 Jan 2023
1 answer
273 views
Is there a way to set the initial focus to an item on a TelerikForm?
Svetoslav Dimitrov
Telerik team
 answered on 06 Jan 2023
1 answer
668 views

I track changes inside my Objects to enable/disable for example Save or Cancel Buttons in the very moment the user hits a key.

Inside my Object I have a Dictionary that list all Properties that have changed during time.

I would like to change the Border/Background/Whatever of each Textbox that have changed. I would like to avoid having a Class for each Textbox and I am looking for a kind of generic approach. I am missing an Event like "OnCellRenderHandler" of the Grid-Control. 

What would be the best solution ? The solution should cover Comboboxes, too...

I would be very pleased to get an answer, maybe it is simple but I am still a novice in Terms of Blazor...

 

Dimo
Telerik team
 answered on 04 Jan 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?