Telerik Forums
UI for Blazor Forum
3 answers
280 views

<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.

Dominik
Top achievements
Rank 2
Iron
Iron
 answered on 27 Jun 2022
1 answer
206 views
Are there any plans to bring the RadDiagram over to Blazor? I would purchase today if that was out. I have medium-term plans to move my WPF app over to the web using Blazor, and I love the RadDiagram in WPF so much that I really don't want to use another company's controls for something so pivotal to the application.
Nadezhda Tacheva
Telerik team
 answered on 27 Jun 2022
2 answers
1.9K+ views

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!

Nadezhda Tacheva
Telerik team
 answered on 27 Jun 2022
1 answer
258 views

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?

Hristian Stefanov
Telerik team
 answered on 24 Jun 2022
1 answer
103 views

Hi,

Is it possible to work FilterMode="Telerik.Blazor.GridFilterMode.FilterMenu" and Sortable="true"  together?

Thanks for answer

Peter

Timothy J
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 24 Jun 2022
1 answer
530 views

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?

Nadezhda Tacheva
Telerik team
 answered on 24 Jun 2022
2 answers
1.7K+ views

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:

  • Have two versions of the page, with a third directing page
  • Have two versions of the form with only one visible depending upon the state of the condition.

Both are not scalable if in the model there are several conditional fields. :(

Hristian Stefanov
Telerik team
 answered on 23 Jun 2022
1 answer
690 views

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>

David
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 23 Jun 2022
1 answer
109 views
Trying to wire up a pager for a grid. If I set the pagesize options as 5, 10, and 20 with 100 records available and choose a pagesize of 20, I get 5 available pages. If I choose page 4, the pagesize resets to 5 and I get 20 pages. How can I keep the pagesize of 20 when changing pages?
Kenn.
Top achievements
Rank 1
Iron
 answered on 23 Jun 2022
0 answers
397 views

 

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>&nbsp;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; }

}

 

Curt
Top achievements
Rank 1
 asked on 22 Jun 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?