Hi,
This is my DatePicker:
<TelerikDatePicker Min="@Min" Max="@Max" @bind-Value="@thePickerValue" Id="select-date" OnChange="@MyOnChangeHandler"></TelerikDatePicker>
@code {
public string newAppDat { get; set; }
public DateTime Max = DateTime.Now.AddDays(180);
public DateTime Min = DateTime.Now.AddDays(-60);
private DateTime? thePickerValue { get; set; }
private void MyOnChangeHandler(object theUserInput)
{
newAppDat = (theUserInput as DateTime?).Value.ToString("yyyymmdd");
}
}
I set a break point inside Handler but execution is not pausing on it when I pick new date in DatePicker.
Please advise.
Hey all,
I am facing a problem that just sometimes occurs and can't find the root of the issue.
First I thought I messed something up but I get a feeling it might not be my fault at the end?
I added the StackTrace as attachment maybe someone has an idea whats going on?
I updated my Telerik.UI.for.Blazor to 2.14.1 still same behavior, randomly this error occurs.
Hi,
Here is my Grid:
<div class="row">
<div class="col-lg" style="background-color:orange">
<TelerikGrid Data="@orders" Sortable="true" Pageable="true" PageSize="10" >
<GridColumns>
<GridCheckboxColumn />
<GridColumn Field="@(nameof(OrdersModel.OrdDate))" />
<GridColumn Field="@(nameof(OrdersModel.OrdNo))" />
</GridColumns>
</TelerikGrid>
</div>
</div>
See how Paging looks like in attached file.
Thoughts?
I have a checkbox of type TelerikCheckBox inside a column in my Grid using the code below.
If I press the edit mode of the grid the checkbox can be altered but the type of the checkbox changes from class="k-checkbox telerik-blazor" to type input so the layout changes (see attachment)
in my razor.cs file
private ObservableCollection<ModelVM> GridData { get; set; }
Inside my razor file I have this (simplified)
<TelerikGrid Data="@GridData" OnEdit="@EditHandler"
OnUpdate="@UpdateHandler">
<GridColumns>
<GridColumn Field="isChecked" Title="Selected" Editable="true"> <Template> @{ var isChecked = context as ModelVM; <TelerikCheckBox Value="isChecked.isChecked" /> } </Template> </GridColumn> </GridColumns> </TelerikGrid>Hello,
I'm having the List of <Model> which is populated by call to database:
private List<OrdersModel> orders;
protected override async Task OnInitializedAsync()
{
orders = await _db.GetOrders();
}
How do I fill Grid with orders info?
This is how my Model looks like:
public class OrdersModel
{
public string OrdNo { get; set; }
public string OrdStatus { get; set; }
}
Please advise.
How can I fill DateTimePicker with specific dates and times (say based on List<T>)?
I have a Grid with a popup edit window and an Add Item command in the toolbar. When a new item is added, it calls a method that calls several other async tasks which can take 3-4 seconds to complete. Is there a way to modify the Update button on the edit grid popup with some kind of working/processing indicator?
As an example of what I've attempted (using Ed Charbeneau's Spinkit):
<GridCommandButton Command="Save" Icon="add" ShowInEdit="true" OnClick="@SendNewUserEmail">
<SpinLoader IsLoading="@IsProcessingNewUser">
<LoadingTemplate>
<Circle /> Working on it...
</LoadingTemplate>
<ContentTemplate>
Add User
</ContentTemplate>
</SpinLoader>
</GridCommandButton>
But this button doesn't appear in the grid popup at all.
Hi
Ref: https://feedback.telerik.com/blazor/1432800-set-grouping-from-code
Set static group from code
Is it possibile to forbid the user to remove the grouping configured by code ??
Tnx