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
Is there a way to hide the "all day" row from the Scheduler?
Thanks,
Andrew
my rough workaround is this styling:
.k-animation-container {
margin-top: -5px;
margin-left: -5px;
padding: 5px;
}
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>
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
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");
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
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.