Telerik Forums
UI for Blazor Forum
1 answer
254 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
602 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
706 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
991 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
229 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
349 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
258 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
375 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
0 answers
296 views

Hi everybody,

I would like to use your Tile Layout Component in my application but when I looked at your examples I saw that the content of your tiles is hardcoded.

In my solution in a tile I could have, a grid, a char or a text. How should I set dynamically the content of the tile? Which could be the right approach?

Best regards,
Cipri

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 23 Sep 2021
1 answer
298 views

The documentation states, "The prompt dialog returns a string that the user enters when they press OK, and null when they press Cancel."

However I've discovered that null is returned when the user clicks cancel, and also when they click OK without entering anything. So I can't tell whether they clicked OK or cancel. If they click OK without entering anything, that's not valid in my scenario but I can't tell whether to validate it because maybe they clicked cancel.

Any way to determine which button was clicked?

 

Nadezhda Tacheva
Telerik team
 answered on 22 Sep 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?