Hi,
I'm using "nav-link" to go to page:
@page "/orders"
I'm also using Parameter which tells me what type of order to be loaded with that Page:
@page "/orders/{ord}"
There is "nav-item" dropdown on NavMenu.razor page to navigate to Page:
<a class="dropdown-item" href="orders/SO">SO</a>
<a class="dropdown-item" href="orders/PO">PO</a>
The issue is, when I click on any of those links first time (say href="orders/SO") - the Page loads correctly.
But then, when I click on href="orders/PO" - the page isn't rendering accordingly even though Parameter on Url has changed.
This happens after I replaced JS Table I used before with Telerik Grid.
Please advise
I have 2 horizontal charts that are set to 100% width, when resizing the browser the charts are not resize to be 100% of the new browser size so they are left out of the window.
Is there any way to do this? could you add this feature to your charts so they can autoajust to any resolution when resizing the browser?
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>)?