Telerik Forums
UI for Blazor Forum
1 answer
167 views
Need Multi selection control functionality in combo look means i need to put arrow icon with multi select telerik control and on click of that icon will appear the list box for selection as like in combo/dropdown control
Nadezhda Tacheva
Telerik team
 answered on 18 May 2023
1 answer
231 views

I love the GridLayout-Component. I use it a lot.

I mostly set the Grid Parameter "VerticalAlign" to Center. But that is for all the Cells in the Grid.

But sometimes I want to set the Alignment of just one Cell to e.g. "Top".

How is that possible ? It would be a great feature having this Property for each GridItem...

Dimo
Telerik team
 answered on 17 May 2023
1 answer
677 views

I just discovered the DetailTemplate and it is great. But I build myself a genereric Grid-Control with the Tererik-Grid and I pass a RenderFragement from my Parent-Component to this Control. This works perfectly. But even if the RenderFragemt is Null, the "+" and "-" Buttons to expand and collaps the DetailTemplate are always shown. How can I hide them ?

Unfortunately this is not working:

    @if (ChildContent != null)
    <DetailTemplate>
        {
            @ChildContent
        }
    </DetailTemplate>
    }

Nadezhda Tacheva
Telerik team
 answered on 17 May 2023
1 answer
207 views

Hi All,

I schedule a Month at the time but using the MultiDay view because I need 09:00-17:00 in .25 hours a day.

Is it possible to use the Month view in a grid of days x hours like the Multiday view.

As alternative I would also be happy if I could use the Month-view date-picker 

 

TIA

Regards, Maarten

Dimo
Telerik team
 answered on 16 May 2023
1 answer
951 views

I would like to achieve this:

I have a GridLayout width 3 Rows (50px, Auto, 50px)

The second row is expanding due to the Browser-Height.

Inside this second Row I would like to put a Grid that expands along to the maximum available height when the User resizes the Browser.

If I give the Grid the Height of "100%" the Height is too low if the Grid has no rows. I would like to expand the Grid always to the maximum available space. At the moment I try to calculate the height with JavaScript in Pixel but I hope that there would be a better way !?

Is there any ?

 

Nadezhda Tacheva
Telerik team
 answered on 15 May 2023
0 answers
188 views
Hi am using this tutorial
https://demos.telerik.com/blazor-ui/window/stacking-windows
When i stack windows with modal textboxes are losing borders
Css is not working More windows i add it darkens the background and css is showing abnormality for textboxes.
Shahraiz
Top achievements
Rank 1
Iron
 asked on 15 May 2023
1 answer
155 views

I'm using

ChartCategoryAxis Type="@ChartCategoryAxisType.Date" BaseUnit="@ChartCategoryAxisBaseUnit.Fit"

Is there a way to show the labels as DayOfWeek (Wednesday) instead of date (3/1) ?

Yanislav
Telerik team
 answered on 15 May 2023
1 answer
1.0K+ views
Copied a demo TelerikScheduler:
<TelerikScheduler Data="@RFCactions"
                  @bind-Date="@StartDate"
                  Height="600px" 
                  @bind-View="@CurrView"
                  AllowCreate="false" AllowDelete="false" AllowUpdate="false"
                  ConfirmDelete="true"
                  IdField="@(nameof(RequestForChangeActionSched.Id))"
                  StartField="@(nameof(RequestForChangeActionSched.StartingDate))"
                  EndField="@(nameof(RequestForChangeActionSched.EndingDate))"
                  IsAllDayField="@(nameof(RequestForChangeActionSched.IsAllDay))"
                  TitleField="@(nameof(RequestForChangeActionSched.RequestForChangeId).ToString())"
                  DescriptionField="@(nameof(RequestForChangeActionSched.Activity))">
    <SchedulerViews>
        <SchedulerDayView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" />
        <SchedulerWeekView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" />
        <SchedulerMultiDayView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" NumberOfDays="31" SlotDivisions="4" >
            <DateHeaderTemplate>
                <div>
                    @context.ToString("ddd dd")
                </div>
            </DateHeaderTemplate>
        </SchedulerMultiDayView>
        <SchedulerMonthView></SchedulerMonthView>
        <SchedulerTimelineView StartTime="@DayStart" EndTime="@DayEnd" WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" />
    </SchedulerViews>
</TelerikScheduler>

@code {
    List<RequestForChangeActionSched> RFCactions = new List<RequestForChangeActionSched>();
    ....etc
Made sure all required fields are in my model, with the same datatypes
But the (any) view won't show because of an InvalidCastException
Updated from V2023.1.313.33 to V2023.1.426.51 but still got the cast error at blazor.webassembly.js:1  

System.InvalidCastException: Specified cast is not valid.
   at Telerik.Blazor.Components.TelerikScheduler`1[[MISFrontEnd.Shared.Domain.RequestForChangeActionSched, MISFrontEnd.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].UpdateAppointment(RequestForChangeActionSched dataItem, IAppointment appointmentForUpdate)
   at Telerik.Blazor.Components.TelerikScheduler`1[[MISFrontEnd.Shared.Domain.RequestForChangeActionSched, MISFrontEnd.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].CreateAppointment(RequestForChangeActionSched dataItem)
   at Telerik.Blazor.Components.TelerikScheduler`1[[MISFrontEnd.Shared.Domain.RequestForChangeActionSched, MISFrontEnd.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].ExpandAppointments()
Maarten
Top achievements
Rank 1
Iron
 answered on 12 May 2023
0 answers
297 views

I have a grid that loads big data. We used to use the ObservableCollection but opted to use the OnRead for better performance (loading takes time when using ObservableData). We have EventAggregators and PropertyChanged events running async OnInitialised().. Does this affect the OnRead event? We manually track the Add, Edit/Update, Delete and Duplicate actions on the grid.

So upon running our blazor app, the grid won't load the data on the grid and has the loading animation on endless loop. (Tried waiting for it to load for about 2 hours). Also tried debugging line per line from which I saw that upon executing the OnRead, the args,Data and args,Total were popullated properly.

Kat
Top achievements
Rank 2
 asked on 12 May 2023
1 answer
400 views
I have a Blazor Grid with the following properties:
<TelerikGrid 
                         OnRead="@OnGridRead"
                         Data="Data"
                         Pageable="true"
                         PageSize="10"
                         Width="100%"
                         Sortable="true"
                         Navigable="true"
                         Groupable="true"
                         SelectionMode="GridSelectionMode.Single"
                         SortMode="@SortMode.Single"
                         FilterMode="@GridFilterMode.FilterMenu"
                         Resizable="true"
                         OnRowClick="OnRowClickCallback"
                         Reorderable="true"
                         AutoGenerateColumns="true">
When I click on a row the row is highlighted, but when I use the keyboard to navigate the highlight stays on the last row I clicked on.

The keyboard navigates to a cell and draws a thin, barely visible, border on the cell, when I hit enter the `OnRowClickCallback` is called on the new row but the highlight remains on the old row.

How do I get the row highlight to change with the navigation?
Dimo
Telerik team
 answered on 12 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?