Telerik Forums
UI for Blazor Forum
9 answers
3.8K+ views

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

 

const
Top achievements
Rank 2
Veteran
 answered on 18 Jun 2020
3 answers
1.9K+ views

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?

Marin Bratanov
Telerik team
 answered on 18 Jun 2020
5 answers
4.7K+ views

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.

const
Top achievements
Rank 2
Veteran
 answered on 17 Jun 2020
1 answer
460 views
If it possible to do Floating Labels for the Datepicker?  I have a form with quite a few different controls (text, combo, etc.) arranged in a vertical format and I am trying to have a consistent look.
Svetoslav Dimitrov
Telerik team
 answered on 17 Jun 2020
8 answers
5.6K+ views

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.

 

Marin Bratanov
Telerik team
 answered on 17 Jun 2020
4 answers
1.1K+ views

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?

 

const
Top achievements
Rank 2
Veteran
 answered on 16 Jun 2020
3 answers
2.8K+ views

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>
Marin Bratanov
Telerik team
 answered on 16 Jun 2020
1 answer
346 views
Hello,

how is it possible to change styles and template of popup which open under menu OnHover ?
Marin Bratanov
Telerik team
 answered on 16 Jun 2020
2 answers
320 views

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.

const
Top achievements
Rank 2
Veteran
 answered on 16 Jun 2020
7 answers
672 views

 

How can I fill DateTimePicker with specific dates and times (say based on List<T>)?

Marin Bratanov
Telerik team
 answered on 15 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?