Telerik Forums
UI for Blazor Forum
1 answer
225 views

I need to know how I can get all the rendered dates from the scheduler for the current view? I know that I have the data that I provide to the scheduler, but I am really concerned with recurring events. For a recurring appointment that is provided to the scheduler data, it could render up to six unique events. I am trying to get a list of those event.

I tried the OnCellRender event which iterates thru all the days on the scheduler, but there is nothing in the event data to identify if an appointment was rendered on that day or not.

I tried the OnItemRender event which iterates thru the appointments on the view, but for the recurring events it always gives the date in the defined appointment not the actual date that it was rendered.

For a use case, I want to use a Calendar to show a minified version of active days in a month. Since some of the events are recurring, I cannot just use the appointment data. I would like to give it to the scheduler and let the scheduler tell me what days are rendered as a result of the provided appointments.

For this appointment list, I should get the following dates returned:
5/2, 5/9, 5/16, 5/23, 5/30, 6/6, 5/25, 5/26

new SchedulerAppointment
{
	Title = "Vet visit",
	Description = "The cat needs vaccinations and her teeth checked.",
	Start = new DateTime(2024, 5, 2, 11, 30, 0),
	End = new DateTime(2024, 5, 2, 12, 0, 0),
	IsAllDay = false,
	RecurrenceExceptions = new List<DateTime>(),
	RecurrenceId = Guid.NewGuid(),
	RecurrenceRule = "FREQ=WEEKLY;BYDAY=TH"
}

new SchedulerAppointment
{
	Title = "Planning meeting",
	Description = "Kick off the new project.",
	Start = new DateTime(2024, 5, 25, 9, 30, 0),
	End = new DateTime(2024, 5, 25, 12, 45, 0)
}

new SchedulerAppointment
{
	Title = "Vet visit",
	Description = "The cat needs vaccinations and her teeth checked.",
	Start = new DateTime(2024, 5, 26, 11, 30, 0),
	End = new DateTime(2024, 5, 26, 12, 0, 0)
}

Dimo
Telerik team
 answered on 07 May 2024
1 answer
124 views

Hello,

i do have a Grid column in the Grid and i want to enter a date range filter in the filter row.
how can i implement this?

best regards

Volkhard

Hristian Stefanov
Telerik team
 answered on 06 May 2024
1 answer
199 views

Hello,
i want to change the color of a header cell text  when the user enters some filter criteria for this column in the filter row.

can you help me?  How can i implement this?

best regards

Volkhard

Hristian Stefanov
Telerik team
 answered on 06 May 2024
1 answer
137 views
Is there a way to allow the filtering logic for the MultiColumnComboBox to search across all visible columns?  or even just all columns?
Hristian Stefanov
Telerik team
 answered on 06 May 2024
1 answer
146 views
I'm Currently developing dynamic pivot grid for that i need to use expandoObject or datatable as datasource
Hristian Stefanov
Telerik team
 answered on 03 May 2024
1 answer
123 views
Is their any way to customize the size of the browser print dialog window? It currently appears in a less-than-ideal manner, especially in Microsoft Edge.
Hristian Stefanov
Telerik team
 answered on 03 May 2024
1 answer
100 views
We have recently upgraded to v5.1.1 and noticed on one of our Grids that when you have the page size set to 100 and start paging through the grid, when you reach page 6, the browser locks up and you get the chrome prompt of "wait/close tab". We reverted back to 4.5.0 and the issue seems to disappear. We are using the OnRead event to get the data for the grid. I tried replicate the issue with a simple object (fewer properties) and smaller data set and I was not able to do so so it seems it's only happening with larger data sets
Dimo
Telerik team
 answered on 02 May 2024
2 answers
104 views

Hi,

How can I rotate the angle of the Axis labels?

I have tried everything but I might be missing something.


            <TelerikChart Width="100%" Height="100%">
                <ChartTitle Text="Number of trips per day"></ChartTitle>

                <ChartLegend Position="@ChartLegendPosition.Bottom"></ChartLegend>

                <ChartSeriesItems>
                    <ChartSeries Type="ChartSeriesType.Heatmap" 
                                 Name=""
                                 Data="@tripsListData"
                                 YField="@nameof(GetPublicTransportModified.tripsCountClass.trip_headsign)"
                                 XField="@nameof(GetPublicTransportModified.tripsCountClass.weekDayName)"
                                 Field="@nameof(GetPublicTransportModified.tripsCountClass.trips)">
                        <ChartSeriesTooltip Visible="true">
                            <Template>
                                @{
                                    var dataItem = context.DataItem as GetPublicTransportModified.tripsCountClass;
                                }

                                <div>@($"{dataItem.weekDayName} contributions on {dataItem.trip_headsign}, week {dataItem.trips}")</div>
                            </Template>
                        </ChartSeriesTooltip>

                        <ChartSeriesMarkers Type="@ChartSeriesMarkersType.RoundedRect"
                                            BorderRadius="5">
                        </ChartSeriesMarkers>
                    </ChartSeries>
                </ChartSeriesItems>
                <ChartCategoryAxes>
                    <ChartCategoryAxis >
                        <ChartCategoryAxisLabels>
                            <ChartCategoryAxisLabelsRotation Angle="315" />
                        </ChartCategoryAxisLabels>
                    </ChartCategoryAxis>
                </ChartCategoryAxes>
            </TelerikChart>
        </Content>
        </TabStripTab>
</TelerikTabStrip>

Many thanks,

Omar

Omar
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 01 May 2024
0 answers
85 views

I have a layout of three tiles like so:

<TelerikTileLayout Columns="3"
                   RowHeight="18vh"
                   Resizable="true"
                   Reorderable="true"
                   >

    <TileLayoutItems>
        <TileLayoutItem RowSpan="2" ColSpan="2">
            <Content>
                content
            </Content>
        </TileLayoutItem>
        <TileLayoutItem RowSpan="4">
            <Content>
                content
            </Content>
        </TileLayoutItem>
        <TileLayoutItem RowSpan="2" ColSpan="2">
            <Content>
               content
            </Content>
        </TileLayoutItem>
    </TileLayoutItems>
</TelerikTileLayout>
I would like the tile layout to stay 4 rows in height, however when a user reorders one of the tiles in a certain way, it extends it down to a 5th row, and displaces one of the tiles in an unpleasing way, which I've shown in the attached image. I want to restrict the tile layout so that it stays 4 rows deep, but still allow my users to rearrange the tiles within that restricted space. Is this possible?
Zachary
Top achievements
Rank 1
 updated question on 30 Apr 2024
2 answers
184 views

Hello,

Is there a way to prevent the DropdownButton content from closing when clicking away from the dropped down content? 

 

Thank you,

Scott

Scott Michetti
Top achievements
Rank 1
Iron
 answered on 30 Apr 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?