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.
Hi,
I want to allow the input of a decimal number with exactly two decimal places in one column and in another column a number with three decimal places. How can I implement this in a GridColumn? DataAnnotations does not work.
[RegularExpression(@"^\d+\.\d{0,2}$")]
[Range(0, 9999999999999999.99)]
Thanks in advance
I am attempting to populate some "dummy" data into a Scheduler component by iterating over a list of Entries and adding each to the Scheduler's Data, like so:
foreach (ScheduleEntry entry in DummyDataForDemo)
{
await TimesheetService.AddOrUpdateEntryAsync(entry);
EntryUpdated(entry);
}
EntryUpdated(entry) calls ScheduleEntries.Add(entry), where ScheduleEntries is the datasource of my Scheduler component.
When EntryUpdated is called from the Scheduler's OnEdit callback, the Scheduler updates properly, and the ScheduleEntry is shown correctly. However, in this iterator, the Scheduler does *not* properly populate newly added entries. At most, I've seen two (of twenty) entries properly displayed until I refresh the page.
How can I accomplish this?
1: I've tried calling StateHasChanged() after iterating over DummyDateForDemo.
2: I've tried making ScheduleEntries an ObservableCollection. This doesn't *seem* to be supported anyway, since documentation mentions "Observable Data" for e.g. Grids, but not Schedulers.
3. I've also tried the trick found at https://feedback.telerik.com/blazor/1409112-the-grid-does-not-update-on-data-source-change but that doesn't work because I can't set Scheduler.Data outside of the component.
Please note that all other code is executing correctly - the ScheduleEntry objects *are* being added to the datasource, and they're being properly saved to the database.
Thanks,
Andrew
I've a weird issue with grid and virtual scrolling. It seems that if you scroll with the scrollbar all goes fine, but if you use flywheel to scroll to the top, some of the first items are not loaded and the placeholders are shown instead, the scrollbar has cursor in top position.
I can see from the debug that the last onread is made with skip value equal to the number of missing items.