Telerik Forums
UI for Blazor Forum
1 answer
944 views

I am coming from the Kendo Editor and in that editor I had the ability to paste an image into the editor and it would add it to markup as a base64 string.

It does not appear that the Blazor editor is allowing this as nothing happens when I try to paste an image into it.

I don't want to use the "insert image" button in the editor as I don't want the user to have to save the image somewhere and "link it".  

We want our users to be able to take a screen shot of something and just paste it into the editor.

Is there any way this can be accomplished?  

Marin Bratanov
Telerik team
 answered on 18 Sep 2020
1 answer
683 views

Hello, I know the documentation says that grid templates will be ignored on Excel export but I'm wondering if there's any way around that. I have columns that are integers which represent strings (like from a type table on the database) so I have templates set up on those columns to display the strings represented by the integers but of course when I export to Excel it exports the integers which are meaningless to an end user. Maybe there's a way to get access to the context in the Field property or something? Otherwise I'll have to modify my classes to include the strings as well which isn't the end of the world but figured I'd check with you first.

 

Thanks.

Marin Bratanov
Telerik team
 answered on 17 Sep 2020
2 answers
208 views

Hi, I've been using the Kendo Scheduler for Blazor and have been following the examples from this doc: https://docs.telerik.com/blazor-ui/components/scheduler/resources#one-resource

 

However, the only examples for adding addition SchedulerResources are dropdownlists. Is there any way to add a Resource that's a textbox or any other input type? If I leave the Data attribute blank, an error is thrown.

 

 

Thanks

Hyong
Top achievements
Rank 1
 answered on 17 Sep 2020
2 answers
89 views

I'm wondering if R3 2020 is the same as release 2.17 for Telerik UI for Blazor?  I received an email about "R3 2020" with a link to the download page and I only see release 2.17 which appears to be the same day. Are they the same? 

Thanks

MM

 

Mark
Top achievements
Rank 1
 answered on 17 Sep 2020
1 answer
162 views

Where can I get a hold of these files?

Looks like all the CSS for this demom in there, would be good of these were in a tab at the top like the old ajax demos used to  be

Marin Bratanov
Telerik team
 answered on 17 Sep 2020
5 answers
6.2K+ views

Hello community! 

Is there a way to format the DateTime value of our model without using templates? 

 

Thanks in advance for any tip!

<GridColumn Field=@nameof(WillyMachine.DateDebut) Title="Debut" Filterable="true" Editable="false"  Width="100px"/>
Zoya
Top achievements
Rank 1
 answered on 16 Sep 2020
1 answer
162 views

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?

Marin Bratanov
Telerik team
 answered on 15 Sep 2020
2 answers
3.6K+ views
Blazor : How I can Re-Load or Refresh the grid after Modal - Popup is Closed or Save button is clicked? I am calling the Save Action in Modal-Popup page and not using EventCallback method
Vishnu
Top achievements
Rank 1
Iron
Veteran
 answered on 15 Sep 2020
1 answer
384 views

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);
    }
 
}
Marin Bratanov
Telerik team
 answered on 15 Sep 2020
2 answers
868 views

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>
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 15 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?