I am wanting to use the the Time Picker, however I want to limit the minute selection to 15 minute intervals?
Is there any way to do this?
Hello,
When using the Blazor Editor I noticed a very large degradation in performance when the user is typing, if the Editor is inside an <EditForm>. I tried increasing the UpdateInterval to 500ms but it did not help much. When the user types fast, the text in the editor lags behind (appears very slowly).
When used outside an <EditForm> then the problem goes away.
Here is a code sample that reproduces the problem (in blazor WASM)
@inherits OwningComponentBase
@page "/TestEditor"
@using Telerik.Blazor.Components.Editor
<
EditForm
Model
=
"Model"
>
<
DataAnnotationsValidator
/>
<
TelerikEditor
Tools
=
"@Tools"
@
bind-Value
=
"@Model.Content"
@
ref
=
"EditorRef"
Height
=
"500px"
>
<
EditorCustomTools
>
<
EditorCustomTool
Name
=
"Keywords"
>
<
TelerikButtonGroup
>
<
ButtonGroupButton
OnClick
=
"Tag1"
IconClass
=
"k-i-background k-icon back-color"
Title
=
"Tag1"
/
>
<
ButtonGroupButton
IconClass
=
"k-i-foreground-color k-icon fore-color"
Title
=
"Fore Color" /
>
</
TelerikButtonGroup
>
</
EditorCustomTool
>
</
EditorCustomTools
>
</
TelerikEditor
>
</
EditForm
>
@code {
public class EditorModel
{
public string Content { get; set; }
}
public EditorModel Model { get; set; } = new EditorModel();
public TelerikEditor EditorRef { get; set; }
public List<
IEditorTool
> Tools { get; set; } = new List<
IEditorTool
>() {
new EditorButtonGroup(new Bold(), new Italic(), new Underline()),
new EditorButtonGroup(new AlignLeft(), new AlignCenter(), new AlignRight()),
new UnorderedList(),
new EditorButtonGroup(new CreateLink(), new Unlink(), new InsertImage()),
new InsertTable(),
new EditorButtonGroup(new AddRowBefore(), new AddRowAfter(), new MergeCells(), new SplitCell()),
new Format(),
new FontSize(),
new FontFamily(),
new CustomTool("Keywords")
//new CustomTool("CleanFormattingTool"),
//new CustomTool("InsertHtmlTools")
};
public async Task Tag1()
{
string tag1 = "{##Type##}";
var temp = new HtmlCommandArgs("insertHtml", tag1);
await EditorRef.ExecuteAsync(temp);
}
}
Is it not possible to use an EditForm inside of a tab?
When I try, I am getting: System.InvalidOperationException: EditForm requires a Model parameter, or an EditContext parameter, but not both.
<
TelerikTabStrip
@
bind-ActiveTabIndex
=
"activeTabIndex"
>
<
TabStripTab
Title
=
"Information"
>
<
EditForm
Model
=
"@ticket"
OnValidSubmit
=
"@UpdateTicket"
>
</
EditForm
>
</
TabStripTab
>
<
TabStripTab
Title
=
"Time Entry"
>
</
TabStripTab
>
<
TabStripTab
Title
=
"History"
>
</
TabStripTab
>
</
TelerikTabStrip
>
I want to use Telerik Blazor for a POC, but what happens after the 30 day limit? Do the controls stop working or is there a limitation on them?
Thanks
Hi,
I am trying to use a custom theme in our test blazor application. My steps:
1. https://bootswatch.com/darkly/ => _variables.scss
2. Sass ThemeBuilder: import of this SASS file
3. SELECTED COMPONENTS - only "Grid"
3. some changes / color corrections
4. download => it throws an exception (see the attachment below)
Thank you in advance for your assistance.
Both of these events take a collections of items (IEnumerable<IFormFile> for Save and string[] for Remove).
My question is why?? It appears that these methods are called for each file uploaded (or removed).
It appears it is this way regardless of whether I auto upload or not?
Why can't I just send the method 1 item instead of a collection of items???
When using multiple selection in the TreeList... i have the checkbox column as one of the columns and SelectChildren is set to true. The checkbox works great to select its children... but when clicking the row... it only selects the row you click on... and breaks the checkbox select children behavior... i am using 2 way binding for the selected items to preselect certain rows as well..
How can I get the row selection to adhere to the same select children rule of the checkbox column?
I have these two variables
public
DateTime? StartDate {
get
;
set
; }
public
string
StartDateShortDate => StartDate?.ToShortDateString();
If I filter on StartDate the sorting start with 2016 then 2017 then 2018 ... like expected.
If I filter on StartDateShortDate the sorting is at "random".
Maurice
Is it possible to use something like ClientFooterTemplate in blazor?
Like it was possible in the MVC grid? Or do we haven to wait for this a little bit longer.
Maurice