(Telerik.UI.for.Blazor v13.1.0)
I was scratching my head over this one for a while. No matter what I tried, even though the data and initial value were valid, the control always initially showed "None" (or just blank, depending on DefaultText). Interestingly, the X close button also was visible, so the control "knew" the value was set.
I tried all kinds of workarounds, delayed rendering, Rebind(), setting the value programmatically, nothing.
I'm sharing the workaround that worked for me, hopefully save some other users some time. Turned out all I needed to do was to add a custom ValueTemplate:
<TelerikDropDownTree Data="@myTreeData"
@bind-Value="selectedTreeValue"
DefaultText="None"
ShowClearButton="true">
<ValueTemplate>
@{
var selectedItem = FindItemById(myTreeData, selectedTreeValue);
<span>@(selectedItem != null ? selectedItem.Text : "None")</span>
}
</ValueTemplate>
</TelerikDropDownTree>I keep getting these errors after i updated to the latest release for a lot of charting components. This one is with ChartSeriesType.Area. The areas are there but don't have any coloring and are invisible.
telerik-blazor.js:1 Error: <path> attribute d: Expected number, "M140.35 13 L NaN 13 NaN 173.2…".
Hello,
when typing a date quickly via keyboard into a TelerikDatePicker, the component behaves incorrectly in multiple ways:
These issues make it nearly impossible to enter a date by typing it in one fluid motion, which is a common workflow for power users and keyboard-centric data entry.
Steps to reproduce: (also reproducible on the official Telerik demo page).
Click into the DatePicker so the day segment is focused.
Type a full date quickly (e.g. 02022020 for 02.02.2020) without pausing between segments.
Observe that the resulting date is incorrect — digits are misplaced or the cursor jumps unexpectedly.
Best regards

I have a situation where I need the:
EditMode="GridEditMode.Incell"
but I also need to have an event trigger when the row is updated:
EditMode="GridEditMode.Inline"
There is no mode that supports both, what are my options?
I need to be able to trigger some action on a Cell by Cell update basis, but also need to trigger a specific action on a Row update.
Thoughts?
Robl

How do I align the left pane to the top instead of it being centered vertically? The CSS provided by AI does not seem to override it.
<TelerikSplitter Orientation="SplitterOrientation.Horizontal">
<SplitterPanes>
<SplitterPane Size="40%" Min="30%" Max="70%"
Collapsible="false"
Scrollable="true"
Class="gsi-align-top-pane">
<TelerikSkeleton Height="600px" Width="100%" />
</SplitterPane>
<SplitterPane Collapsible="false" Min="30%" Max="70%" Scrollable="true">
<TelerikGridLayout Class="grid-layout">
<GridLayoutRows>
<GridLayoutRow />
<GridLayoutRow />
<GridLayoutRow />
</GridLayoutRows>
<GridLayoutItems>
<GridLayoutItem Row="1">
<TelerikSkeleton Height="75px"
Class="k-display-inline-block" />
</GridLayoutItem>
<GridLayoutItem Row="2">
<table class="k-grid">
@for (int i = 0; i < 10; i++)
{
<tr class=skeleton-table-row>
<td class="skeleton-table-col">
<TelerikSkeleton Width="100%"></TelerikSkeleton>
</td>
<td class="skeleton-table-col">
<TelerikSkeleton Width="100%"></TelerikSkeleton>
</td>
<td class="skeleton-table-col">
<TelerikSkeleton Width="100%"></TelerikSkeleton>
</td>
<td class="skeleton-table-col">
<TelerikSkeleton Width="100%"></TelerikSkeleton>
</td>
</tr>
}
</table>
</GridLayoutItem>
<GridLayoutItem Row="3">
<TelerikSkeleton Height="75px"
Class="k-display-inline-block" />
</GridLayoutItem>
</GridLayoutItems>
</TelerikGridLayout>
</SplitterPane>
</SplitterPanes>
</TelerikSplitter>
.gsi-align-top-pane {
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
align-items: stretch !important;
padding-top: 0 !important;
margin-top: 0 !important;
height: 100% !important;
min-height: 0 !important;
}
.gsi-align-top-pane > * {
margin-top: 0 !important;
margin-bottom: 0 !important;
align-self: flex-start !important;
}
.gsi-align-top-pane .k-skeleton {
margin-top: 0 !important;
margin-bottom: 0 !important;
align-self: flex-start !important;
/* Remove any auto margin that may be set by Telerik */
margin-block-start: 0 !important;
margin-block-end: 0 !important;
margin-block: 0 !important;
margin: 0 !important;
}
<TelerikPdfViewer MinZoom="0.5m" MaxZoom="1.5m" ZoomRate="0.25m" Zoom="0.5m"..
Zoom-DropDown box still present "200%, 300%, 400%"
My expectation is to limit the dropdown entries to the range given by MinZoom, MaxZoom
Version 13.1.0
The Map/Route dialog is set with "CloseOnOverlayClick". As soon as I display the Route Dialog it triggers prior form validation (see the Destination red text behind the Route dialog)?
<TelerikDialog @bind-Visible="@_viewRouteMap"
ShowCloseButton="true"
CloseOnOverlayClick="true">
<DialogTitle>Route</DialogTitle>
<DialogContent>
<Map ZipCodeModelOrigin="@_selectedZipCodeOrigin" ZipCodeModelDestination="@_selectedZipCodeDestination"></Map>
</DialogContent>
</TelerikDialog>I've used my Route/Map component on other pages/components and not having this validation trigger issue. It seems if I go more than 1 level of Dialogs I'll get this issue?
The code that makes the Map/Route dialog visible:
private async Task MapGeneralRateRouteHandler(MouseEventArgs args)
{
// Get the coordinates from the ZipCodes table using current Origin, Destination zip code
_selectedZipCodeOrigin = await ZipCodeService.GetByZipCode(_rateDispatch.OriginZipCode);
_selectedZipCodeDestination = await ZipCodeService.GetByZipCode(_rateDispatch.DestinationZipCode);
_viewRouteMap = true;
}
Version 12.0.0 removed the .k-item class from rendering on a tab strip's tab but that now means that the active tab looks identical to all other tabs. Is there a workaround or some way to get that back without manually recreating the CSS myself?
The screenshot is from the docs to show it's not just my project or any custom config on my end:
https://www.telerik.com/blazor-ui/documentation/components/tabstrip/overview
I have a Telerik Blazor chart with time-based data updating in real time. The X-axis labels are not aligned with the major ticks — they are showing between two ticks instead of directly on them.
I am currently using CategoryField for the time values.
How can I make the labels align with the major ticks?
Code Snippet:
<!-- Category Axis -->