Telerik Forums
UI for Blazor Forum
4 answers
995 views
Is there a way to set rowspan in the Telerik Blazor grid? I need certain cells to span multiple rows. Thanks.
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 31 Jul 2020
1 answer
120 views

I have the Scheduler's AllowUpdate property bound to a boolean property Timesheet.IsEditable.

 

Expected behavior:

When Timesheet.IsEditable is changed to "false," a user cannot drag and drop an entry.

 

Observed behavior:
When Timesheet.IsEditable is changed to "false," a user CAN drag and drop an entry.

 

The workaround I'm using currently is 

private async Task UpdateEntry(SchedulerUpdateEventArgs args)

{

    if (!Timesheet.IsEditable) return;

    // do actual business logic here

}
but this seems cludgy, and results in bad UX - the scheduler still looks as they it will allow the user to drag and drop and entry.

 

I also have AllowCreate and AllowDelete bound to this same property, and they both behave as expected when Timesheet.IsEditable is toggled.

Is this a bug? Or is there something I'm overlooking?

Thanks,

Andrew

Marin Bratanov
Telerik team
 answered on 30 Jul 2020
3 answers
733 views

Is there a way to hide the "all day" row from the Scheduler?

 

Thanks,

Andrew

Marin Bratanov
Telerik team
 answered on 30 Jul 2020
1 answer
470 views

my rough workaround is this styling:

 

    .k-animation-container {
        margin-top: -5px;
        margin-left: -5px;
        padding: 5px;
    }

Marin Bratanov
Telerik team
 answered on 29 Jul 2020
1 answer
115 views

This doesn't seem to be available by default?

please advise on the usual... roadmap, places to upvote, temp workarounds, etc

my initial rough workaround is some fairly manageable styling along these lines...

<style>
    .k-dropdown {
        padding-top: 1.03125em;
    }

        .k-dropdown::after {
            content: "Gender";
            color: rgba(0,0,0,0.6);
            position: absolute;
            margin-top: 0.5em;
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .k-dropdown.k-state-focused::after, .k-dropdown:not(.k-state-empty)::after {
            transform: translate(-0.4em, -1.5em) scale(.75) ;
        }

        .k-dropdown.k-state-focused::after {
            color: #3f51b5;
        }

</style>

Svetoslav Dimitrov
Telerik team
 answered on 29 Jul 2020
2 answers
1.9K+ views

Hi

Are there any Blazor / Conversation UI samples or code.

What is the suggested method to integrate Conversation UI in a Blazor app? Which of the samples should I begin to look at.

 

thx in advance

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 28 Jul 2020
5 answers
958 views

From the example:

In the api handler, what is the preferred way to read the value in "SomeFormField" from the request? Is it in the Body collection of the Request?
 
@inject NavigationManager NavigationManager
 
<TelerikUpload SaveUrl="@SaveUrl"
               RemoveUrl="@RemoveUrl"
               OnUpload="@OnUploadHandler">
</TelerikUpload>
 
@code {
    async Task OnUploadHandler(UploadEventArgs e)
    {
        e.RequestData.Add("SomeFormField", "SomeFormValue"); // for example, user name
        e.RequestHeaders.Add("CustomHeader", "SomeHeaderValue"); // for example, authentication token
        // you can add more than one
    }
 
    // a sample way of generating the URLs to the endpoint
    public string SaveUrl => ToAbsoluteUrl("api/upload/save");
    public string RemoveUrl => ToAbsoluteUrl("api/upload/remove");
Marin Bratanov
Telerik team
 answered on 27 Jul 2020
1 answer
568 views

I did a bit of searching and couldn't find this in the documentation. Is there a way to change the text in the ComboBox dropdown when there is no data in the source collection? 

 

Thanks,

Andrew

Marin Bratanov
Telerik team
 answered on 23 Jul 2020
2 answers
1.2K+ views
I have implemented the drawer following your sample to use the drawer as navigation in the main site layout.  I have also used the template to create hierarchical menu.  I believe since I am using the template, the @Body will not be set for the url content?  Do you have a sample which uses hierarchical template and is able to navigate to a Razor Component.  I have tried using a RenderFragment on each drawer item and bind that value in the content field.  It seems to be rather slow. Also, when I render the component this way it seems any layout template I have specified at the component level is ignored. Do you have any suggestions?  Thank you in advance.
Will
Top achievements
Rank 1
 answered on 23 Jul 2020
1 answer
101 views

I've got a problem with the treeview.

The child element in is not fully visible in that container (see attached picture).

My problem is that the child element is wider than the parent element. In my css file there is an overflow-x property and the child element does not detect it as an element. The scrollbar seems to be attached to the parent element and not to the child elements. 

Marin Bratanov
Telerik team
 answered on 23 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?