<TelerikUpload SaveUrl="api/v1.0/files/save"
RemoveUrl="api/v1.0/files/remove"
AllowedExtensions="@AllowedFileTypes"
MinFileSize="@MinFileSize"
MaxFileSize="@MaxFileSize"
AutoUpload="true"
Multiple="true"
WithCredentials="false"
OnUpload="@OnUploadHandler"
OnProgress="@OnProgressHandler"/>
I need an EventCallBack for "OnComplete" for a completion of all files or "OnProgress???" for all files. Or a complete different solution.
Is there a way to format the color of TelerikProgressBar based off data?
I see you can set the Class on that item, however it does not apply background-color to the fill of the bar.
I've found that I can modify all bars by setting the following css:
.k-progressbar .k-state-selected {
background-color:green;
}
Thanks!
I like the concept of having a list of values that can be checked to filter. My problem is the list can be really long. Long enough that if you have to use the scroll bar on the page to try to see the remaining entries. However using the scroll bar closes the filter menu.
Is there a way to add a scroll bar to the filter menu list?
Hi,
Is it possible to work FilterMode="Telerik.Blazor.GridFilterMode.FilterMenu" and Sortable="true" together?
Thanks for answer
Peter
I have an EditForm with a TabStrip and multiple tabs each with required fields. I'm finding that validation finds the required fields only on tabs that were active at some point and had their contents loaded into the DOM. If the user never selects the tabs, validation will skip some required fields.
We have a workaround where each tab is quickly activated after the first render but I'm hoping there is a cleaner solution. Is there a way to tell Telerik to load all tabs into the DOM on initialization?
With a Blazor razor page, is there any way of having a FormItem Field conditionally visible in a TelerikForm dependant upon another field?
Use case is where details about person are filled in by the person in question OR a second person.
The second person details are only required if the submiiter isn't the person in question.
The only ways I can think of doing this thus far are:
Both are not scalable if in the model there are several conditional fields. :(
Situation: I have an EF table being displayed in a Telerik Grid.
There is a command field which when clicked goes to a page to an action page that consumes the the record for that row.
I want the button to display in rows that meet a condition in that row's data.
Status (an enum) is the field that will if a certain value the condition is true.
So I guess I need access to row's context. ???
<GridColumn Field="@(nameof(RecordResult.Status))" Title="Status" Width="80px" />
<GridCommandColumn Title="Update" Width="80px">
<GridCommandButton Command="MyOwnCommand" Icon="Information" OnClick="@MyCustomCommandHandler">
Claim
</GridCommandButton>
</GridCommandColumn>
</GridColumns>
</TelerikGrid>
I am unable to get the Scheduler grouping to work in Timeline view., and have many hours attempting to get it to work.
I've followed this demo pretty closely, and MANY different attempts at getting grouping to work.
https://demos.telerik.com/blazor-ui/scheduler/grouping
Is there some property I'm missing that "turns grouping on"? I temporarily added the orientation so I could switch between Horz/Vert.
I've got hours and hours into this. I wish by default if you're configuring a control for something "special" like this, that it would error out and tell you through an exception that you're "missing x or y " or the mapping of a field is invalid or something! In this case, I've got the grouping setup with mapped fields, etc. (If I have invalid fields I get a dictionary error), etc. But no grouping. and NO errors. Very, very frustrating.
My theory is that I'm missing one simple little thing that "turns grouping on", but I'm not seeing it.
Any help, or further questions on my configuration, please feel free to ask.
Thanks in advance,
Curt
Here is my Scheduler Setup below. I will be removing Week view, it's there just to try different things.
<TelerikScheduler Data="@Shifts" Height="100%" Width="100%"
@bind-View="@CurrView"
TitleField="@(nameof(ShiftCalendarBindingModel.ProductionLineName))"
DescriptionField="@(nameof(ShiftCalendarBindingModel.LineTypeName))"
StartField="@(nameof(ShiftCalendarBindingModel.Start))"
EndField="@(nameof(ShiftCalendarBindingModel.End))"
IsAllDayField="@(nameof(ShiftCalendarBindingModel.IsAllDayApt))"
IdField="@(nameof(ShiftCalendarBindingModel.Id))"
Date="@CurrentDate"
DateChanged="@SchedulerDateChangedHandler">
<SchedulerSettings>
<SchedulerGroupSettings Resources="@GroupingResources" Orientation="@GroupingOrientation"></SchedulerGroupSettings>
</SchedulerSettings>
<SchedulerResources>
<SchedulerResource Field="LineTypeId" TextField="LineTypeName" ValueField="Id" Data="@LineTypes"></SchedulerResource>"
</SchedulerResources>
<ItemTemplate>
@{
var appointment = context as ShiftCalendarBindingModel;
}
<div style="height: 100%; width:100%; background-color:@(new MarkupString(appointment.BackGroundColor))">
<p><strong>@appointment.ProductionLineName</strong> Shift: @appointment.ShiftNumber </p>
</div>
</ItemTemplate>
<SchedulerViews>
<SchedulerTimelineView StartTime="@DayStart" EndTime="@DayEnd"ColumnWidth="50" SlotDuration="60" NumberOfDays="1" />
<SchedulerWeekView StartTime="@DayStart" EndTime="@DayEnd" SlotDivisions="2" SlotDuration="60" />
</SchedulerViews>
</TelerikScheduler>
This is what I'm considering "Important" properties:
List<SchedulerGroupOrientation> GroupingOrientationOptions = new List<SchedulerGroupOrientation> { SchedulerGroupOrientation.Horizontal, SchedulerGroupOrientation.Vertical };
private Telerik.Blazor.Components.TelerikScheduler<ShiftCalendarBindingModel> SchedulerRef { get; set; }
List<string> GroupingResources = new List<string> { "LineTypeId" };
public List<LineTypeModel> LineTypes { get; set; } = new List<LineTypeModel>();
public class LineTypeModel
{
public int? Id { get; set; }
public string LineTypeName { get; set; }
}
A few properties from my scheduler model, showing the "LineTypeId":
public class ShiftCalendarBindingModel
{
public long Id { get; set; }
public int? LineTypeId { get; set; }
}