Telerik Forums
UI for Blazor Forum
1 answer
205 views

Where a DropDownList is populated dynamically, and mandatory, it makes sense for there to be an option to automatically default to the first item in the list.  Especially as there may only be one item in the list, or the first item may account for 99% of cases.

It would be great if this could be done via a simple property:  DefaultToFirst="true".

Svetoslav Dimitrov
Telerik team
 answered on 27 Sep 2021
1 answer
297 views
I have a project with a grid and a context menu.  When I right click on a grid cell, I create a contextual menu based on the name in the grid row.  Then when I run the await ContextMenuRef.ShowAsync(mouseEventArgs.ClientX, mouseEventArgs.ClientY); command, the menu is from the previous right click and previous row.  The actions performed based on the menu choice happen for the right row but the menu itself, it shows previous values.  I have included my mock project for your perusal.  Click on Invoices to get to the page with the problem.
Radko
Telerik team
 answered on 24 Sep 2021
1 answer
197 views

Hi everybody,

What I would like to achieve is to split a container in 2 halfs, then after selecting one of the two halfs to have the posibility to split the selected half agin in other two halfs, and so on.

I was thinking to use the Splitter component for this kind of things having two buttons: one for splitting vertically, and one for splitting horizontally which when one is pressed do the split of the selected container, but I can't understand how can I do this because in all your examples the splitters are already defined. How can this be done dynamically?

Can anyone help me?

Best regards.
Cipri

Nadezhda Tacheva
Telerik team
 answered on 24 Sep 2021
1 answer
544 views

How to know while viewing styles in Chrome Dev tools which .k style classes to need to be overridden for margins using CSS isolation.

Also if using properties of the TelerikNotification HorizontalPosition set to center and VerticalPosition set to top what is needed to override the top position when using CSS isolation

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 23 Sep 2021
0 answers
653 views

I am struggling with getting the dropdown part of Dropdownlist to match.

The dropdown part is to small. If I remove bootstrap then it's to far to the right.

Have also tried to put the DropDownList outside the grid. Same result.

Setting the width doesn't help

See the pictures.

I have measured the computed values of the animation container and the values are correct. So something else is overwriting the css.

I removed all stylesheets except _content/Telerik.UI.for.Blazor/css/kendo-theme-default/all.css


Code

@page "/DepartmentAccess"
<h3>DepartmentAccess</h3>

<TelerikGridLayout>
    <GridLayoutColumns>
        <GridLayoutColumn Width="300px"></GridLayoutColumn>
        <GridLayoutColumn Width="200px"></GridLayoutColumn>
        <GridLayoutColumn Width="300px"></GridLayoutColumn>
    </GridLayoutColumns>
    <GridLayoutRows>
        <GridLayoutRow></GridLayoutRow>
        <GridLayoutRow></GridLayoutRow>
        <GridLayoutRow></GridLayoutRow>
    </GridLayoutRows>
    <GridLayoutItems>
        <GridLayoutItem Column="1" Row="1">Department</GridLayoutItem>
        <GridLayoutItem Column="1" Row="2">
            <div>
                <TelerikDropDownList
                    TValue="int"
                    TItem="CboItem"
                    Data="UserDepartments"
                    TextField="Name"
                    ValueField="Id"
                    Filterable="true"
                    FilterOperator="StringFilterOperator.Contains"
                    DefaultText="Select Department"
                    ValueChanged="@(UserDepartmentSelected)"
                    PopupHeight="400px"
                    />
            </div>
        </GridLayoutItem>
        <GridLayoutItem Column="1" Row="3">Listbox with selected funds for selected department</GridLayoutItem>
        <GridLayoutItem Column="2" RowSpan="3">add / remove buttons</GridLayoutItem>
        <GridLayoutItem Column="3" Row="1">Avaiable funds</GridLayoutItem>
        <GridLayoutItem Column="3" Row="2">Listbox wit avaiable funds</GridLayoutItem>
    </GridLayoutItems>
</TelerikGridLayout>

Martin Herløv
Top achievements
Rank 2
Bronze
Iron
Iron
 updated question on 23 Sep 2021
3 answers
888 views

No matter what method signature I come up with, I always get a compile error like 

[CS1503] Argument 3: cannot convert from 'method group' to 'bool'

I tried void SomeMethod(), void SomeMethod(object _), Task SomeMethod(), Task SomeMethod(object _), async Task ...

I also tried <TelerikEditor OnChange="@(_ => SomeMethod())"> and variations thereof.

Trying to use <TelerikEditor T="string" > does not work either.

Any idea what I should be doing?

Nadezhda Tacheva
Telerik team
 answered on 23 Sep 2021
1 answer
178 views
is it possible to have sate by key, for example now the grid located the record by index and if some of the rows were expended & them some removed, thу grid will incorrectly expand rows after update & refresh because the index was changed 
Radko
Telerik team
 answered on 23 Sep 2021
0 answers
309 views

Hi, I want to ask if anyone has ideas for implementing a Listbuilder component.

Would like what the best components to use and some ideas for the data model. Ideally it will be a reusable component.

The lists should be filterable.

 

 

I don't see that you have a listbox. Should I use a grid?
What I would like is this https://blazor.radzen.com/listbox.

 

I think you should look closer to what Radzen is doing. The have more ready to use component for building a UI. Their components looks much better and the have all the common functionality that you need.

Telerik components are more generic and it's not always easy to find the right component for the use case.

 

Why don't  you have a Listbox?


So after two Telerik project I think Telerik has a killer grid but over all Radzen is the better one.

Martin Herløv
Top achievements
Rank 2
Bronze
Iron
Iron
 updated question on 23 Sep 2021
1 answer
213 views
I bind the TelerikEditor Value to a property that is reloaded with different unrelated content. The editor keeps the Undo/Redo stack so for the "second" content I can Undo back to the "first" content. How do I clear the Undo stack when the bound property is changed?
Nadezhda Tacheva
Telerik team
 answered on 23 Sep 2021
1 answer
299 views

Hi:

Several of the columns I'm trying to display in the grid are collections of strings or integers. Will I need to convert those collections to a string format, for example, comma-separated before the data is presented to the grid?

Thanks

Kristian
Telerik team
 answered on 23 Sep 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?