Telerik Forums
UI for Blazor Forum
0 answers
37 views
Hello!
I need to limit the range to only select the months range.
Is is possible to limit CalendarView like this?

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 06 Nov 2022
1 answer
139 views

Why this happening after selecting the start date?

 

Tsvetomir
Telerik team
 answered on 06 Sep 2022
1 answer
53 views

Hello

I am implementing DateRangePicker with null start and end date. When user open calendar he sees Min date instead of current date.

How can I move the focus from the Min date to the current date at the time the calendar is opened?

Hristian Stefanov
Telerik team
 answered on 21 Jul 2022
1 answer
70 views

Is there a way to easily adjust the TelerikDateRangePicker to mobile? it looks very bad by default

 

Svetoslav Dimitrov
Telerik team
 answered on 04 May 2022
0 answers
43 views

Hi,

The date range picker confusingly displays and selects days from different months multiple times.  Our users (and we developers) find this very confusing and unnatural:

How can we turn off this behavior so that each month displays JUST the dates IN THAT MONTH and no other days?

Thanks!

 

 

Tech
Top achievements
Rank 1
 asked on 19 Apr 2022
1 answer
1.1K+ views

Hi, I try tu use the new Date/TimeOnly types of .Net6 and they are not supported by the Telerik components (you cannot bind them to these types). I tested it on the 2.30.0 version you just released.

It works fine with the Blazor Components (InputDate, input type="time"...) but it is not a practical solution for component like TelerikGrid (it would mean templating everything, breaking the inline validation etc.) or TelerikScheduler/Gantt (I would like to use a DateOnly for its Date property for example, and ideally its model could be a DateOnly and 2 TimeOnly instead of 2 DateTime but that's less important).

 

Do you have an ETA for their support or a workaround?

Also, is there documentation about the limitations of your .Net6 support so I don't have other bad surprises?

Svetoslav Dimitrov
Telerik team
 answered on 14 Dec 2021
1 answer
306 views

Hi,

I need to have a DateRangePicker to allow a user to select a date range in the Toolbar. Ideally, I want to implement this in a DropDownList with the Placeholder text of "All Dates". When the drop down list is clicked, the DateRangePicker is shown and a user can select a range of dates which will then show after focus is lost. The user should be able to select "All Dates" again so no "date range" is selected to send to my API.  See attached screen show. Any help is much appreciated!

Jimmy

<ToolBarTemplateItem>
        <TelerikDropDownList Data="@dateLookupModel" TextField="LookupTextField" ValueField="LookupValueField" @bind-Value="@dateLookupType" width="125px"></TelerikDropDownList>
    </ToolBarTemplateItem>
    <ToolBarSeparator />
    <ToolBarTemplateItem>
        Dates: <TelerikDateRangePicker Class="daterangepicker-no-labels" @bind-StartValue="@StartValue"
                                       @bind-EndValue="@EndValue"></TelerikDateRangePicker>
    </ToolBarTemplateItem>
    <ToolBarSeparator />

Code:

public DateTime? StartValue { get; set; } = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day);

        public DateTime? EndValue { get; set; } = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day);

private FilterDate dateLookupType { get; set; } = FilterDate.AllDates;

private List<LookupItemModel<FilterDate>> dateLookupModel { get; set; } =
            new();

foreach (var value in Enum.GetValues(typeof(FilterDate)))
            {
                dateLookupModel.Add(new LookupItemModel<FilterDate>()
                {
                    LookupTextField = ((FilterDate)value).GetAttribute<DisplayText>().Text,
                    LookupValueField = (int)value,
                    LookupSortValue = ((FilterDate)value).GetAttribute<OrderAttribute>().Order
                });
                dateLookupModel.Sort((x, y) => x.LookupSortValue.CompareTo(y.LookupSortValue));
            }
Marin Bratanov
Telerik team
 answered on 14 Aug 2021
1 answer
98 views
Even on the demo page, the start and end date fields are way too wide.   I figured they only need to be around 110px for my needs, but I don't see a way to control the width of those.  
Marin Bratanov
Telerik team
 answered on 08 Jul 2021
1 answer
234 views

If you look at the two attached screen shots.  The date range picker is initialized with a start and end date.  If the start date is changed, the end date is reset to 1/1/0001.

I have configured the date range picker as:

<TelerikDateRangePicker @bind-StartValue="@NewRecSet.StartDate" @bind-EndValue="@NewRecSet.EndDate" Min="DateTime.Today"/>

 

My expectation is that the end date should not change from what was set as the initial value.

Svetoslav Dimitrov
Telerik team
 answered on 26 Mar 2021
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?