Hi
I am just learning/testing with Blazor and have created a standard Blazor Server App, using the default template built into VS 2019. Is there a simple way I can convert this to a Telerik Blazor app? For exampe copy over some DLLs or maybe install a nuget package?
Or do I have to start from scratch and use the Telerik Blazor built into VS Studio?
Manythanks in advance
Hi,
I have a calendar control with initial date. It could be "Today" or any other date. The Calendar works fine but the initial date is not visually selected. If I click on any date it's get selected and displayed in "red" but I need it selected initially without user intervention.
<TelerikCalendar SelectionMode="@CalendarSelectionMode.Single"
ValueChanged="@( (DateTime d) => OnBeginDateChangeHandlerAsync(d) )"
Min="@beginmin" Max="@beginmax"
@bind-Date="@begindate">
</TelerikCalendar>
@code {
protected DateTime begindate { get; set; } = DateTime.Now.AddDays(-8).Date;
}
Thanks.
Hi,
Is there any way to disable all weekends on Calendar control? Yes, I could create a list of disable dates but it will be a huge list. I just curious if there is some setting to do that.
Thanks.
I've used your example code to adjust the font size on a grid and been using rowheight to adjust the row height but there appears to be some limit as too how small you can make the row height.
I've attached a screen shot which shows there is a lot of space in the row above and below the small text, can this be reduced?
Cheers
Steve
Hi,
when setting DropDownList's DefaultText (e.g. to a "none" string) then the component displays an additional entry which stands for a null/default value (in other words: it acts as a clear button).
But the OnChange event does not fire when selecting that entry.
Using: Telerik.UI.for.Blazor.Trial (2.14.1)
Regards
Kasimier Buchcik
Hi
The problem I am having is, that when I select a HOUR in the list of hours, by clicking on it with the mouse, the hour is updated shortly and then reset to the hours of the DateTime send into the control. That is, the hour in the text box is set for the selected one, and then reset half a second later. The dropdown with hours 'rolls' back to the initial hour. There is the same problem for the Minutes and Seconds
When trying the component on the Telerik Blazor DEMO site, that works just fine, but in my solution (running on my own PC which is setup for the Danish Language and Regional settings) it does as above. My demo component for testing this is quite simple:
@page "/CodeSamples"
<label for="timepicker">Time:</label>
<TelerikTimePicker Min="@Min" Max="@Max" Format="HH:mm:ss" @bind-Value="@selectedTime" Id="timepicker"></TelerikTimePicker>
<div class="pt-4">The selected time is: @selectedTime?.ToLongTimeString()</div>
@code {
public DateTime Min = new DateTime(1900, 1, 1, 10, 0, 0);
public DateTime Max = new DateTime(1900, 1, 1, 20, 0, 0);
private DateTime? selectedTime = DateTime.Now;
}
Can you help me? :-)
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Could not find 'TelerikBlazor' in 'window'.
Error: Could not find 'TelerikBlazor' in 'window'.
at Anonymous function (https://localhost:44365/_framework/blazor.server.js:8:28059)
at Array.prototype.forEach (native code)
at p (https://localhost:44365/_framework/blazor.server.js:8:28010)
at Anonymous function (https://localhost:44365/_framework/blazor.server.js:8:28731)
at Promise (native code)
at e.jsCallDispatcher.beginInvokeJSFromDotNet (https://localhost:44365/_framework/blazor.server.js:8:28701)
at Anonymous function (https://localhost:44365/_framework/blazor.server.js:1:19139)
at Array.prototype.forEach (native code)
at e.prototype.invokeClientMethod (https://localhost:44365/_framework/blazor.server.js:1:19117)
at e.prototype.processIncomingData (https://localhost:44365/_framework/blazor.server.js:1:17160)
Is it possible to show the weeknumbers in a DatePicker?
We work most of the time with weeknumbers instead of a date so people know they have to select e.g. the monday of week 27 instead of 29-06-2020
Thanks,
Maurice