I would like to call a function every time the window closes. No matter how the close was triggered.
<TelerikWindow Width="900px" Height="fit-content" Centered="true" Visible="@(Details.BaseData.Id > 0)" Modal="true" CloseOnOverlayClick="true">
<WindowTitle>
<strong>@Title</strong>
</WindowTitle>
<WindowActions>
<WindowAction Name="Close" OnClick="OnFormClosed"/>
</WindowActions>
<TelerikListView Data="@_ownersWithStatus" Width="500px">
<HeaderTemplate>
<ListViewCommandButton Command="Add"><i class="fas fa-user-plus"></i></ListViewCommandButton>
</HeaderTemplate>
<Template>
<h4>@context.Name</h4>
@if (context.Enabled)
{
<h5 class="k-text-success">Enabled</h5>
}
else
{
<h5 class="k-text-error">Disabled</h5>
}
<ListViewCommandButton Command="Delete" Class="mb-sm">Delete</ListViewCommandButton>
</Template>
<EditTemplate>
</EditTemplate>
</TelerikListView>
@code {
[Parameter]
public string Mailbox { get; set; } = "";
[CascadingParameter]
private Task<AuthenticationState> authenticationStateTask { get; set; }
MailboxOwnerDto _owners { get; set; } = new MailboxOwnerDto();
string _error { get; set; }
List<OwnerWithStatus> _ownersWithStatus { get; set; }
protected override async Task OnInitializedAsync()
{
_owners = await _adService.GetMailboxOwners(Mailbox);
try
{
var authState = await authenticationStateTask;
var user = authState.User;
if (string.IsNullOrEmpty(_owners.Owners))
return;
else
{
var ownerList = _owners.Owners.Split(',').ToList();
var oun = user.Identity.Name.Split('\\')[1];
foreach (var owner in ownerList)
{
var ownerEnabled = (await _service.GetIdentity(owner)).Active;
var ownerwithstatus = new OwnerWithStatus();
ownerwithstatus.Enabled = ownerEnabled;
ownerwithstatus.Name = owner;
_ownersWithStatus.Add(ownerwithstatus);
}
}
}
catch
{
_error = "Error determining if this user is an owner.";
}
}
public class OwnerWithStatus
{
public string Name { get; set; }
public bool Enabled { get; set; }
}
}Hello, we have and app with different dashboards that contains charts, counters, labels, etc and i have to questions
1. How can we render these dashboards and export to pdf, html, or other format to send by email? we have also telerik reporting for some grids reports but we dont want to code again the reports in telerik reporting with different components and format, we would like to reuse the same blazor dashboard and charts and components we already have in ui.
2. How can we create dynamic dashboard where user can enable or disabled widgets and configure their own dashboards, add or hide widgets and the page is reconfigured, is there any component for this or planned in roadmap?

Hi how can I make a graph like this one?
What I have now
<TelerikChart>
<ChartTitle Text="Prices"></ChartTitle>
<ChartTooltip Visible="true"></ChartTooltip>
<ChartLegend Position="ChartLegendPosition.Bottom"/>
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Line"
Name="Prices"
Data="@Details.PriceGraphs"
DashType="@DashType.Solid"
XField="@nameof(InstrumentPriceGraph.UpdateDate)"
Field="@nameof(InstrumentPriceGraph.Price)">
</ChartSeries>
</ChartSeriesItems>
</TelerikChart>Model
public class InstrumentPriceGraph
{
public string CiInstrument { get; set; }
public DateTime UpdateDate { get; set; }
public decimal Price { get; set; }
}
I use a custom dialog to edit the appointment.
The appoinment.Start date and the OnEdit(SchedulerEditEventArgs) always show the start of the series, not the date of the instance I opened.
Hello,
How can we export multiple telerikgrids to the same excel file ? When using the built-in export it's easy to get one file per grid, but is there any way (maybe using the MemoryStream) to merge those files together into one file with multiple worksheets ?
Hi,
In reference to the "Custom Filter Row Template" example (https://docs.telerik.com/blazor-ui/components/grid/templates/filter#filter-row-template) I've found following issue:
Every time when the function "SetupFilterRule()" is called the FilterDescriptorCollections contains only "theFilterContext.FilterDescriptor.FilterDescriptors[0]". Even when "filter2" is added to the collection... the next time the function is called the collection contains only filter1.
Is there any way to keep added filters in the collection?
Best regards,
Rayko

The DayTemplate migt be difficult, because the component could be depending on the rendered tags and attributes.
But a OnRender event that supplies the date and allows me to add a specific class would at least give me CSS styling possibilities.
Hello,
Is there a way to make the ChartPlotArea in an alternating way?
Example: That every 2nd row is white
Thanks
Regards,
Nikolas
