Does anybody have an example of how to do this in the blazor grid?
If not, does anybody have an example of a dropdownlist column template that show the text in the grid but stores the id in the list of items for the grid?
Thanks … Ed
Will Telerik Blazor components support this new functionality in the future?
https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.elementreferenceextensions.focusasync?view=aspnetcore-5.0#Microsoft_AspNetCore_Components_ElementReferenceExtensions_FocusAsync_Microsoft_AspNetCore_Components_ElementReference_
Set UI focus in Blazor apps
Blazor now has a FocusAsync convenience method on ElementReference for setting the UI focus on that element.
<button @onclick="() => textInput.FocusAsync()">Set focus</button><input @ref="textInput"/>
I am using a telerik tab control with a grid in one tab. If you sort, filter, or page the grid; the state will be lost if you click into a tab and then back to the tab with the grid. What's the proper way to save this state?
Thanks - Doug
Grid is using Incell edit mode. Clicking on a cell brings the cell into focus but it's only on the second click that the OnRowClick event is firing. i.e. when the cell entered edit mode.
Is this expected behavior?
Keyboard selection only seems to match the first letter of the text. Is there a setting to change this behavior?
I've confirmed this behavior on the Blazor UI DropDownList demo as well. If you type in the state dropdown it just keeps changing the selection to the first state that begins with the last letter typed.
Without the ability to use the keyboard it makes large dropdownlists unmanageable.
<TelerikNumericTextBox Min="0" Max="100" @bind-Value=@Model.HeadSkip Id="header_skip"></TelerikNumericTextBox>
After adding the Minimum and Maximum value it shows an error as below
The type arguments for method 'TypeInference.CreateTelerikNumericTextBox_0<T>(RenderTreeBuilder, int, int, T, int, T, int, string, int, T, int, EventCallback<T>, int, Expression<Func<T>>)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
The binding value is of type short and I am trying to restrict the negative numbers in numeric textbox.
Hi,
the labels 'Start' and 'End' of the TelerikDateRangePicker are shown over the input controls.
Example Razor page:
@page "/Testsupport1"
<
TelerikToolBar
>
<
ToolBarTemplateItem
><
label
for
=
"cbId"
>Label1</
label
></
ToolBarTemplateItem
>
<
ToolBarTemplateItem
>
<
TelerikComboBox
TItem
=
"string"
TValue
=
"string"
Width
=
"80px"
Id
=
"cbId"
/>
</
ToolBarTemplateItem
>
<
ToolBarButton
Icon
=
"refresh"
>Refresh</
ToolBarButton
>
<
ToolBarTemplateItem
>
<
label
for
=
"ddlId"
>Label2</
label
>
</
ToolBarTemplateItem
>
<
ToolBarTemplateItem
>
<
TelerikDropDownList
TItem
=
"string"
TValue
=
"string"
Id
=
"ddlId"
Width
=
"80px"
/>
</
ToolBarTemplateItem
>
<
ToolBarTemplateItem
>
<
TelerikDateRangePicker
T
=
"DateTime"
/>
</
ToolBarTemplateItem
>
</
TelerikToolBar
>
Image:https://imgur.com/S0fiwRq
How can I adjust the position of labels and controls?
It is ok to show the labels above, but then for all controls.
Or how can I modify TelerikDateRangePicker to use one line and show the labels before the controls.
Best Regards,
Peter
Hello everyone,
Recently I have been working on a project where we wanted build all of our Components in a separate library. When we do this, we get the purple squiggly line stating "Found markup element with unexpected name 'TelerikMenu'. If this is intended to be a component, add a @using directive for its namespace."
This is what we include in our _Imports.razor for the Library itself:
@* Telerik. *@
@using Telerik.Blazor
@using Telerik.Blazor.Components
This is one of our Components - MainMenu.razor:
@namespace Component.Menu
@inherits MainMenuBase
@using ViewModel.MainMenu
<
TelerikMenu
Data
=
"@MenuItems"
ItemsField
=
"@nameof(MainMenuViewModel.SubMenuList)"
TextField
=
"@nameof(MainMenuViewModel.Name)"
UrlField
=
"@nameof(MainMenuViewModel.Page)"
ImageUrlField
=
"@nameof(MainMenuViewModel.IconUrl)"
IconField
=
"@nameof(MainMenuViewModel.Icon)"
IconClassField
=
"@nameof(MainMenuViewModel.IconClass)"
Orientation
=
"@MenuOrientation.Horizontal"
/>
When we compile the project, it runs just fine, but we were really looking for a way to make sure these Messages do not show up. It also makes it so Intellisense does not find all of the Parameters available to a Telerik Component.
All C# code is in full Code-Behind and why it is not posted here. The C# has no problems at all with Errors, Warnings, or Messages.
Thank you for your time,
Jesse