I´m trying to export a page as PDF in a Blazor application.
I found this example application that uses the kendo-drawing api with JS interop.
https://github.com/telerik/blazor-ui/tree/master/common/pdf-jpg-export-js
This works fine as long as you do not use a template. The template API is missing entierly.
I have for now copied over the entier kendo libs folder from a project that uses kendo MVC. It works, but I would rather just use the kendo-drawing api and not everything.
Is the kendo templating stuff available somewhere separately?
(NOTE: This is not an accessibility question but there is no tag that fits as far as I can tell and I cannot define a new one)
Hello, could you help me please. I have a problem with calling razor page (blazor) in HTML, sometime is work sometime isnt.
I try call only https://xzy.intra.cz/aktpoh/233 and press F5 and it was still working.
But if I call it in iframe or embed or object i.e.
<tr>
<td>X group</td>
<td><iframe href="https://xzy.intra.cz/aktpoh/233" height="50" type="text/html" width="300"></iframe></td>
</tr>
<tr>
<td>Y group</td>
<td><embed src="https://xzy.intra.cz/aktpoh/30" height="50" type="text/html" width="300"></embed></td>
</tr>
<tr>
<td>Z group</td>
<td><object data="https://xzy.intra.cz/aktpoh/243" height="50" type="text/html" width="300"></object></td>
</tr>
<tr>
sometime work but if I press F5 for refresh sometime isnt work.
How can I call it
Peter

Greetings Forum Members,
I trust you're all doing well. I'm currently involved in a project at my company, where we are contemplating migrating an existing ASP.NET project (built with the old aspx and vb.net) to the newer ASP.NET Core. Our consideration involves using the Telerik code converter to transition the code from vb.net to c#.
I'm reaching out to the community to gather insights on whether the Telerik code converter takes into account libraries during the conversion process. If any of you have experience with this tool or similar migration scenarios, your guidance would be immensely valuable.
Thank you for your time and assistance. Looking forward to your knowledgeable responses.
Best regards,
EHallPass

I have the following TreeList definition inside a model-dialog box. The modal-dialog:overflow-y options (auto, hidden, scroll, visible) let me turn the dialog's scroll bar on and off. However, none of them seem to work like I would expect. How do I freeze the height of the modal-dialog so that the scroll bar on the TreeList becomes active? It seems the dialog stretches off-screen.
@if (ShowDialog)
{
<div class="modal fade show d-block" id="exampleModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="titleLabel">@Title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" @onclick="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<TelerikTreeList Data="@Groups"
IdField="@nameof(SelectedGroup.Id)"
ParentIdField="@nameof(SelectedGroup.ParentId)"
SelectedItems="@SelectedGroups"
FilterMode="@TreeListFilterMode.None">
<TreeListColumns>
<TreeListColumn Expandable="true" Field="Name" Title="Name" />
</TreeListColumns>
</TelerikTreeList>
</div>
</div>
</div>
</div>
}
<style>
.modal-dialog, .modal-dialog img { /*same value to avoid overwidth*/
width: 70%;
height: 90%;
margin: 15px auto;
overflow-y: visible;
}
</style>Hi
We have run into some difficulties with charting a 'floating' stacked series. Is it possible to 'stack' series in a Range Column Chart? Where the data in this REPL would be represented by one column with two regions: https://blazorrepl.telerik.com/cRPGbRkN53vvK3Y152
We have been working around the issue by using a Column chart and creating an invisible stacked series to move the real series into position. However, we struggle when negative values are required, specifically if a column is to range between a positive value to a negative value, e.g. From 47 to -10.
Thanks
Mark
I need sample Drop-Down custom filter menu for this Grid, i dont see sample in telerik docs
<GridColumn Field="MoneyTransferCode" FieldType="@(typeof(int))" Title="نوع انتقال وجه" Width="200px" Groupable="true">
<GroupHeaderTemplate>
نوع انتقال وجه: @Data.Where(x => x.MoneyTransferCode == int.Parse(context.Value.ToString())).Select(x => x.MoneyTransferCodeName).FirstOrDefault()
</GroupHeaderTemplate>
<Template>
@{
var item = context as TermOfTransactionDto;
@item.MoneyTransferCodeName
}
</Template>
<EditorTemplate>
@{
var item = context as TermOfTransactionDto;
<TelerikDropDownList Data="@MoneyTransferCodeList"
ValueField="Value"
TextField="PersianDisplayName"
Width="100%"
@bind-Value="@item.MoneyTransferCode"/>
}
</EditorTemplate>
</GridColumn>
<GridColumn Field="MoneyTransferCode" FieldType="@(typeof(int))" Title="نوع انتقال وجه" Width="200px" Groupable="true">
<FilterMenuTemplate>
@{
<div class="filter-values-container">
@foreach (var country in MoneyTransferCodeList.Select(x => x.PersianDisplayName))
{
<div>
<TelerikCheckBox Value="@(GetFilterValues(context.FilterDescriptor).Contains(country))"
ValueChanged="@((bool value) => ColumnValueChanged(value, country, nameof(TermOfTransactionDto.MoneyTransferCode), context.FilterDescriptor))"
Id="@($"country_{country}")">
</TelerikCheckBox>
<label for="@($"country_{country}")">
@country
</label>
</div>
}
</div>
}
</FilterMenuTemplate>
<GroupHeaderTemplate>
نوع انتقال وجه: @Data.Where(x => x.MoneyTransferCode == int.Parse(context.Value.ToString())).Select(x => x.MoneyTransferCodeName).FirstOrDefault()
</GroupHeaderTemplate>
<Template>
@{
var item = context as TermOfTransactionDto;
@item.MoneyTransferCodeName
}
</Template>
<EditorTemplate>
@{
var item = context as TermOfTransactionDto;
<TelerikDropDownList Data="@MoneyTransferCodeList"
ValueField="Value"
TextField="PersianDisplayName"
Width="100%"
@bind-Value="@item.MoneyTransferCode"/>
}
</EditorTemplate>
</GridColumn>
public void ColumnValueChanged(bool value, string itemValue, string columnName, CompositeFilterDescriptor filterDescriptor)
{
var filter = filterDescriptor.FilterDescriptors.FirstOrDefault(f => (f as FilterDescriptor).Value?.ToString() == itemValue);
int itemValueNumber = MoneyTransferCodeList.First(x => x.PersianDisplayName == itemValue).Value;
filterDescriptor.LogicalOperator = FilterCompositionLogicalOperator.Or;
if (value && filter == null)
{
// var filterDescriptor1 = new FilterDescriptor(columnName, FilterOperator.IsEqualTo, itemValue);
// filterDescriptor.FilterDescriptors.Add(filterDescriptor1);
filterDescriptor.FilterDescriptors.Add(new FilterDescriptor(columnName, FilterOperator.IsEqualTo, itemValueNumber));
}
else if (!value && filter != null)
{
filterDescriptor.FilterDescriptors.Remove(filter);
}
}
How can I get the TreelList to show all children of parents who match a filter (or searchbox) condition, and keep the expandability of filtered nodes, even if children don't match the filter condition? Currently children that don't match the search are hidden and the parents become non-expandable.
For example, if I have a tree with an item "Fruit" with children "Apple", "Orange", "Grape", I would like "Apple", "Orange" and "Grape" to still show if I search for "Fruit" in the search box. If the "Fruit" node was not expanded, I want it to stay expandable.
I am using the TreeList with load data on demand. I am currently partially achieving the desired result by adding "dummy" child nodes that match the parent so the parent stays expandable on search, then removing the dummy nodes on expand and replacing with the real child items. I have also tried using hidden fields. It seems like the TreeList should have a built in option to support this use case.
One of the most basic features, and a reason why many would want to use an HTML editor, is to use style tags to style the content of the HTML editor.
However, it appears if you use the iframe, you cannot do this. The whole point of an iframe is to stop scope creep both ways, which means style tags should work without issue. Although they seem to be ignored in the editor, and HTML is placed inside an <textarea> outside of the iframe, making the style tag affect the entire web app.
And if you use a div instead of an iframe, you get the scope creep.
Seriously.... why is this not implemented????
Is there a way to make the iframe honor the style tags?
