when adding:
builder.Services.AddTelerikBlazor();
in step 4 of the 'Server-Side Blazor (Tutorial)' I'm getting this error:
IServiceCollection' does not contain a definition for 'Add Telerik Blazor' and no accessible extension method 'Add TelerikBlazor' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
Thanks in advance for assistance.
Here is the code that calls the dialog:
catch (Exception ex)
{
await Dialogs.AlertAsync(ex.Message, "Error!");
}
I believe this broke with the 4.01 changes?
I can no longer drop a file on the upload button, it just does the default "open file with browser" action.
Application Insights is showing these exceptions and not sure what's the root cause and/or why these are being thrown.
Exception:
System.Threading.Tasks.TaskCanceledException:I have an EditForm with some simple attributes that I would like to edit. The TelerikButtons, Abort and Save, are directly implemented and call the necessary business logic.
But now I would also like to implement the EditForm as a TelerikDialog popup to quickly record data. Sadly, the buttons are duplicated.
How should I go about not duplicating the functionality? Can I somehow move them or redirect the dialogbuttons to call them?
<TelerikDialog Visible="@IsAssetCreationVisible" ButtonsLayout="@DialogButtonsLayout.End" Width="30%">
<DialogContent>
<GameAssetCreatePage AssetType="AssetType.Text"></GameAssetCreatePage>
</DialogContent>
<DialogButtons>
<TelerikButton>Abort</TelerikButton>
<TelerikButton Id="@GameAssetCreatePage.EditFormId"
ButtonType="ButtonType.Submit"
ThemeColor="@ThemeColor.Primary">Save and Close</TelerikButton>
</DialogButtons>
</TelerikDialog>
After upgrading the grids tag = <GridToolBar> seems to have disappeared from the control.
Was it replaced by <GridToolBarTemplate>?
If so why doe I get a red error line under the tag when I rename the tag from the old to the new?
Tis at 4.0.1 now:
I have a requirement in my project to allow the editing of text files.
The editor doesn't need to be sophisticated, i.e. basic editing functionality, cutting-and-pasting lines, and search and replace text, where the search facility programmatically highlights all the text that can be replaced.
I have tried using the TelerikEditor, with mixed results.
I have made the <p> element behave as an inline element. This makes it look more like a text editor, but you have to hit return twice at the end of each line to start a new line. Also adding a new line after a highlighted word, the highlight "bleeds" across the lines. I suspect there will be other undesirable behaviour as I add functionality.
Is it possible to customise the TelerikEditor in a better way to get the behaviour I require?
Or is there a better component to use?
I notice Telerik advertise a "RichTextEditor", but I assume that is just another name for the Html Editor.
Is it possible to disable or simply remove the icon for the drag action on a row in a treelist? I have a scenario where the children under specific parent should not be able to be dragged to another parent or change its position withing the parent group.
Thanks
When I try to add a tooltip on this all I get is a small black bubble icon above the control.
<TelerikDatePicker Min="@Min" Max="@Max" @bind-Value="@DTR11_selectedDate"
Id="DTR11" DebounceDelay="@DebounceDelay"
Title="Check me off to include this in the data!" Class="tooltip-target">
</TelerikDatePicker>
When scrolling down in the virtualized combo boxes, anything typed into the text box will reset to the initial value.
To see this behavior, visit the combo box doc for virtualization: https://docs.telerik.com/blazor-ui/components/combobox/virtualization.
In the Local data example, click preview. Then type “Na” in the input box. Then scroll down in the list of popup options. The “Na” in the input box disappears.
In the Remote data example, click preview. Then click inside the input box where it says “Name 1234”. Click backspace a couple times so the input becomes “Name 12”. Then scroll down in the list of popup options. The input resets to “Name 1234”.
The same behavior happens in the remote data example for the multi column combo box: https://docs.telerik.com/blazor-ui/components/multicolumncombobox/virtualization
Is there a way to prevent the typed input from resetting when the user scrolls?