Telerik Forums
UI for Blazor Forum
0 answers
116 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
175 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
248 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
267 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
408 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
331 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
783 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
1 answer
177 views

How would I go about adding a tool tip on hover to items on a Telerik Menu using Telerik UI for Blazor?

 

Thanks.

Hristian Stefanov
Telerik team
 answered on 04 Jan 2023
2 answers
548 views

Hello. 

Just a simple question: How to hide the placeholder when the datepicker is disabled or not editable.  

As an example, I don't want to show the placeholder of the "Last response" field when the input is disabled.  

Regards.
Twain.

Twain
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Jan 2023
1 answer
556 views

Hi

I wonder if it is possible to add a kind of footer to the drawer.

For example, whe could have the navigation buttons on the top (like usual)  and some buttons on the bottom ( ex : admin and user profile ) 

here is an example 

 

How can i archieve this ?

 

Thanks

Twain
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Jan 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?