I Display without issues complex types in the grid control, the ToString method is used to display the row value for that column and it's fine.
However I can't figure out how to customize sorting and filtering, is there a way to provide a method to compare, sort, and filter columns with complex types?
I can't get inline editing to work when the item is an EF Core 2.2.6 proxy (lazy loading turned on), it throws an exception right after the OnEdit event.
When using POCOs, everything works fine. Not a big issue, but guessing a lot of people might run into this scenario.
Hello,
i wanted to know if you are planning to add sortable to combobox in ui for blazor ?
As stated in the title, I am unable to set id, name, css, etc on TelerikAutoComplete control. For accessibility we need to set an id and link it with the label.
Any guidance for handling these scenarios?
Is there a standard I am missing for setting these values across all input type controls?
It says that is compatible with Blazor WebAssembly 3.2.0 Preview 1.
Is it still full compatible Blazor 3.1 -- or in other words if we will not be moving to the 3.2 previews then are we best to stay with a previous version or is it fine to move this latest release?
Thanks in advance.
Hello,
i found an issue in TelerikDropDownList
when you bind TelerikDropDownList value to a nullable property after data is loaded it selects the first one as the value
but when property is not nullable and its bound to value of TelerikDropDownList when data is read it wont select any value
which seems reverse
and also i might not want to select anything at all and let user leave this property empty since its nullable
and also it would be good to have DefaultText for TelerikDropDownList but i cant use it seems unknown to TelerikDropDownList
The ValueChanged event doesn't fire when the DefaultText item is selected.
I have a dropdown containing associate names and I want the user to be able to remove the selected associate and choose the empty one (DefaultText). The ValueChange event will make an API call to remove the associate's id from the record.
In my example the type for Value is int?.
<TelerikDropDownList Class="tlk-dd-sm tlk-dd-bg-white w-100" Data="@associates" ValueField="AssociateId" TextField="FullName" ValueChanged="@((int? i) => WorkItemAssigneeChanged(i, workItem))" Value="@workItem.AssignedToAssociateId" DefaultText="" />
Hey everyone,
I've been trying Telerik.Blazor on my free time and I happen to have a bit more free time lately.
My problem :
As soon as I include a custom component with Telerik components in it, i'm having this error when starting the app.
Anybody can help my lack of experience? :) Could it be because my trial has expired?
QueueViewer_Plans.razor
01.
@
using
Autopost_Config.Data.Controllers;
02.
@
using
Autopost_Config.Data.DAL;
03.
04.
@
if
(plans ==
null
)
05.
{
06.
<p><em>Loading...</em></p>
07.
}
08.
else
09.
{
10.
<TelerikGrid Data=
"@plans"
Pageable=
"true"
PageSize=
"10"
Sortable=
"true"
FilterMode=
"Telerik.Blazor.GridFilterMode.FilterRow"
>
11.
<GridColumns>
12.
<GridColumn Field=
"@(nameof(AutopostPlans.Id))"
Title=
"@(nameof(AutopostPlans.Id))"
></GridColumn>
13.
<GridColumn Field=
"@(nameof(AutopostPlans.Task))"
Title=
"@(nameof(AutopostPlans.Task))"
></GridColumn>
14.
<GridColumn Field=
"@(nameof(AutopostPlans.DateAjout))"
Title=
"@(nameof(AutopostPlans.DateAjout))"
></GridColumn>
15.
<GridColumn Field=
"@(nameof(AutopostPlans.Username))"
Title=
"@(nameof(AutopostPlans.Username))"
></GridColumn>
16.
<GridColumn Field=
"@(nameof(AutopostPlans.SendingComputer))"
Title=
"@(nameof(AutopostPlans.SendingComputer))"
></GridColumn>
17.
<GridColumn Field=
"@(nameof(AutopostPlans.PathWorkspace))"
Title=
"@(nameof(AutopostPlans.PathWorkspace))"
></GridColumn>
18.
</GridColumns>
19.
</TelerikGrid>
20.
}
21.
22.
@code {
23.
AutopostPlans[] plans;
24.
protected
override
void
OnInitialized()
25.
{
26.
plans = AutopostPlansController.GetAll();
27.
}
28.
}
Index.razor
01.
@page
"/"
02.
03.
@
using
Autopost_Config.Data
04.
@
using
Autopost_Config.Components;
05.
@
using
Autopost_Config.Data.Controllers;
06.
@
using
Autopost_Config.Data.DAL;
07.
@
using
Autopost_Config.Data.Services;
08.
@inject AutopostDemandesService AutopostDemandesService;
09.
10.
<h1>Configuration de l'autopost RBTK</h1>
11.
12.
<form>
13.
<BlocSelection></BlocSelection>
14.
<QueueViewer_Plans></QueueViewer_Plans>
15.
@*<QueueViewer_Demandes></QueueViewer_Demandes>
16.
<TelerikButton @onclick=
"@(() => AutopostDemandesService.createNewDemand())"
>Lancer l'autopost (Telerik)</TelerikButton>*@
17.
18.
<div
class
=
"form-group row"
>
19.
<div
class
=
"col-sm-10"
>
20.
<button type=
"submit"
class
=
"btn btn-primary"
@onclick=
"@(() => AutopostDemandesService.createNewDemand())"
>Lancer l'autopost</button>
21.
</div>
22.
</div>
23.
</form>
24.
25.
@code {
26.
27.
}