Here is my code:
01.
<TelerikGrid Data=
"_enrollments"
02.
AutoGenerateColumns=
"false"
03.
PageSize=
"5"
04.
ScrollMode=
"@GridScrollMode.Scrollable"
05.
Height=
"400px"
06.
RowHeight=
"40"
07.
SortMode=
"@SortMode.Multiple"
08.
Sortable=
"true"
>
09.
<GridColumns>
10.
<GridColumn Field=
"@nameof(EnrollmentDTO.Id)"
/>
11.
</GridColumns>
12.
<DetailTemplate>
13.
@{
14.
var category = context
as
EnrollmentDTO;
15.
<TelerikGrid Data=
"@category.Device"
16.
Height=
"300px"
17.
Pageable=
"true"
18.
Sortable=
"true"
19.
PageSize=
"5"
20.
AutoGenerateColumns=
"true"
>
21.
</TelerikGrid>
22.
}
23.
</DetailTemplate>
24.
</TelerikGrid>
If I remove the DetailTemplate this works fine. Otherwise I get the following errors
CS1662 Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
--and--
CS0411 The type arguments for method 'TypeInference.CreateTelerikGrid_1<TItem>(RenderTreeBuilder, int, int, IEnumerable<TItem>, int, string, int, bool, int, bool, int, int, int, bool)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
I cannot figure out what is going on.
Please see the attached image.
I don't have any idea what caused this. I can't figure out how this could have happened. Can someone show me how to add some css to move the 'X' over a bit?
Thanks ... Ed
Is there anyway to delay the showing of the toolip when showing on hover?
I want it to only show the toolip tip if I hover over an item for more than some time period (i.e. 3 seconds)
Hi everyone,
By setting the property Expanded equal to true in the collection the treeview does not expand anymore. This was working before but now, it doesn't.
To explain you more precisely what I have done: in the model I have the property Expanded. On double click on the node (not on the arrow in front of the node) I'am am setting the Expanded property to true if the node is closed or if the node is opened I'm setting the Expanded property to false. This was working before, but now it doesn't. Have you changed something for this component?
How can I fix this issue? Can you help me please?
Best regards,
Cipri
Hi,
How we can clear the list of saved files from the upload control, after have used them, without refreshing the page?
Thanks
I have a grid and I want to pop up an animation container with content specific to a row when a button is clicked in that row.
How do I reference the correct animation container? No matter which button I click, it always loads the last animation container.
I've set @ref="notesPopup" for the animation container in the grid template
In code:
TelerikAnimationContainer notesPopup;
async Task ToggleNotes()
{
await notesPopup.ToggleAsync();
}
I think the question is how do I dynamically set the @ref and reference it in code?
Thank you
I'm new to Blazor with Telerik and i'm having trouble creating a "top-level" notification layout.
I'm using a Drawer for a menu and would like a top-level notification component at the same level or above this Drawer component.
I'm using this as an example: https://github.com/telerik/blazor-ui/tree/master/notification/single-instance-per-app
But when I try to implementation something similar I end up with multiple @Body fragments in my MainLayout as seen below and in turn the content is duplicated.
Although the cascading Notification stuff works nice :)
I figure I'm missing something basic perhaps about encapsulating these into Blazor components? or something related to layouts?
Thanks,
Ed
<TelerikRootComponent>
<TelerikButton OnClick="@(() => DrawerRef.ToggleAsync())" Icon="@IconName.Menu"></TelerikButton>
<img src="https://www.qat.com/wp-content/uploads/2015/03/qat-global-logo-s.png" align="middle" />
<CultureChooser />
<TelerikNotification @ref="@Notification.Instance"
HorizontalPosition="@NotificationHorizontalPosition.Right"
VerticalPosition="@NotificationVerticalPosition.Top"
Class="big-notification">
</TelerikNotification>
<CascadingValue IsFixed="true" Value="@Notification">
<div class="content px-4">
@Body
</div>
</CascadingValue>
<TelerikDrawer @ref="@DrawerRef" Data="@NavigablePages" Expanded="@Expanded" MiniMode="true" Mode="@DrawerMode.Push"
SelectedItemChanged="((DrawerItem item) => SelectedItemChangedHandler(item))"
ExpandedChanged="((bool newValue) => ExpandedChangedHandler(newValue))">
<Content>
@Body
</Content>
</TelerikDrawer>
</TelerikRootComponent>
Is it possible to have 2 different column values show for each chart category?
1 data series would show wider than the other data series and they would be together for each vertical section?
Essentially a multi-axis column chart but merged together for matching categories.