Telerik Forums
UI for Blazor Forum
1 answer
383 views

I need aria-label (for accessibility) but when I add it to TelerikWindow:

<TelerikWindow @ref="myWindow" Header="My Window" Width="300" Height="200" aria-label="My Custom Label">

but getting the following error:

System.InvalidOperationException: Object of type 'Telerik.Blazor.Components.TelerikWindow' does not have a property matching the name 'aria-label'.

The same if I try to add AdditionalAttributes

<TelerikWindow @ref="myWindow" Header="My Window" Width="300" Height="200" AdditionalAttributes="@windowAttributes">
    <Content>
        <div class="window-content">
            <p>This is my window content.</p>
        </div>
    </Content>
</TelerikWindow>

@code {
    private Dictionary<string, object> windowAttributes = new Dictionary<string, object> { { "aria-label", "My Custom Label" } };
    private TelerikWindow myWindow;
}

How I can add aria-label to TelerikWindow?

Svetoslav Dimitrov
Telerik team
 answered on 06 Mar 2023
1 answer
271 views

I have an extensive app in webforms using Telerik controls. Do Telerik controls for Blazor function similar to Telerik coontrols for ASP.NET Forms? I'm trying to understand the scope of work to migrate to Blazor. My app has little Javascript and mostly code behind forms. 

 

Stamo Gochev
Telerik team
 answered on 03 Mar 2023
1 answer
365 views

I need to bind a complex object to telerik grid field, i read the article

https://docs.telerik.com/blazor-ui/knowledge-base/grid-bind-navigation-property-complex-object

but it not explain if i can bind an indexed property.

For example i need this bind:

<GridColumn Field="Property.NestedProperty[0].Value" />

but it seem not working.

Can be binded indexed properties?

Thanks

Tsvetomir
Telerik team
 answered on 03 Mar 2023
1 answer
231 views

Is there a way to do this? Right now, if you have too many, they just run off the screen.

Thanks... Ed

 

Nadezhda Tacheva
Telerik team
 answered on 02 Mar 2023
1 answer
335 views

Hi,

I'm using onread to fetch odata from a backend system.

I also have signalR setup that listens for changes on the objects in the list.

I would like to be able to update a single property of an object when an signalr event is received. I'm aware of the Rebind() method, but this forces the entire list to be loaded again. Since i have a lot of events firing and multiple clients, it would make more sense if i could get the objects from the gridref.Data property and update only the affected record and property.

Think of this as a grid as a stock-ticker overview, where values are updated very frequently.

Do we have a solution for this?

Wim

Dimo
Telerik team
 answered on 02 Mar 2023
1 answer
187 views

Well large for me. :) 360K+ records to excel.

Works on the Dev PC but when published to web server it does nothing. No errors either.

I tried setting MaximumReceiveMessageSize but that didnt seem to do much.

Anyone any ideas on fixing this?

 

Thanks

Deasun.

Svetoslav Dimitrov
Telerik team
 answered on 02 Mar 2023
1 answer
170 views
Is it possible to use a ContextMenu inside a TelerikEditor?  We're attempting to allow users to insert pre-selected phrases with a right-click menu.
Yanislav
Telerik team
 answered on 02 Mar 2023
3 answers
294 views

Hello,

Blazor WebApp here.

I try TelerikAutoComplete inside a TelerikGird without success.   Do you provide a complete example so I can use it? 

 

How I can get the current field value as searchTerm to send it to the API?


<GridColumn OnCellRender="@((GridCellRenderEventArgs args) => OnCellInfosEmplacementDestinationRenderHandler(args, "emplacementDescriptionCompleteFr"))" Field=@nameof(treltlkpEmplacementViewModel.emplacementDescriptionCompleteFr) Title="Description FRANÇAISE" TextAlign="@ColumnTextAlign.Left" >
        <Template>
            <TelerikAutoComplete TItem="@String"
                Id="TitreFr"
                ScrollMode="@DropDownScrollMode.Scrollable"
                ItemHeight="30"
                PageSize="10"
                OnRead="@OnReadAutoCompleteEmplacementDescriptionCompleteFr"
                @bind-Value="@((context as treltlkpEmplacementViewModel).emplacementDescriptionCompleteFr)"
                FillMode="@Telerik.Blazor.ThemeConstants.AutoComplete.FillMode.Solid">
                <AutoCompleteSettings>
                    <AutoCompletePopupSettings Height="100px" />
                </AutoCompleteSettings>
            </TelerikAutoComplete>
        </Template>
</GridColumn>

 


    async Task OnReadAutoCompleteEmplacementDescriptionCompleteFr(AutoCompleteReadEventArgs args)
    {
        treltlkpEmplacementViewModel item = (treltlkpEmplacementViewModel)args.Data;

        if (!string.IsNullOrWhiteSpace(?????????))
        {
            await ObtenirEmplacementDescriptionCompleteAutoCompleteAsync(args, SafetyStudioSolution.Shared.Constants.cultureNameFr, ?????????);
        }
    }

Thank you for your fast answer.

Svetoslav Dimitrov
Telerik team
 answered on 01 Mar 2023
1 answer
1.2K+ views

I have a need to be able to click on a cell and then capture the value in that cell in codebehind.

How can I do that?

I tried to play around with Column Template but I am getting no where. :(

Need a GridCell_OnClick event so I can grab the cell value the Row tis on and the Column tis in.

Thanks

Deasun.

 

Svetoslav Dimitrov
Telerik team
 answered on 01 Mar 2023
1 answer
140 views

Hi:

I want to create a blazor crud using DataSource with entity framework. Do you have a sample code?

I found a lot of samples to get data, filter, etc., but not for crud operations using Data Source.

Thanks in advance.

Dimo
Telerik team
 answered on 28 Feb 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?