Telerik Forums
UI for Blazor Forum
1 answer
308 views
Is it possible to set the height of the TelerikPanelBar in UI for Blazor?  Specifically, I would like to have the "Header" items always visible and the "Content" items scroll if needed.  Not seeing a way to do this.
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
 answered on 04 Feb 2022
1 answer
111 views

Hi,

In reference to the "Custom Filter Row Template" example (https://docs.telerik.com/blazor-ui/components/grid/templates/filter#filter-row-template) I've found following issue:

Every time when the function "SetupFilterRule()" is called the FilterDescriptorCollections contains only "theFilterContext.FilterDescriptor.FilterDescriptors[0]". Even when "filter2" is added to the collection... the next time the function is called the collection contains only filter1.

Is there any way to keep added filters in the collection?

 

Best regards,

Rayko

Hristian Stefanov
Telerik team
 answered on 04 Feb 2022
1 answer
131 views

The DayTemplate migt be difficult, because the component could be depending on the rendered tags and attributes.

But a OnRender event that supplies the date and allows me to add a specific class would at least give me CSS styling possibilities.

Svetoslav Dimitrov
Telerik team
 answered on 04 Feb 2022
1 answer
135 views

Hello,

Is there a way to make the ChartPlotArea in an alternating way?

Example: That every 2nd row is white

 

Thanks

Regards,
Nikolas

Nadezhda Tacheva
Telerik team
 answered on 04 Feb 2022
1 answer
159 views
Calendar days that fall outside the selected month never have the class k-state-disabled, even when those days are part of DisabledDates.
That means the user sees a normal (enabled) rendering, the pointer cursor, and can even click on the day, but nothing will happen.

It becomes more obvious, and annoying, when I want to color each disabled day red, and/or each allowed day green.
I cannot do this because the k-other-month days now cannot be colored red, and will be colored green, or not colored at all.
Svetoslav Dimitrov
Telerik team
 answered on 04 Feb 2022
1 answer
157 views

After upgrading to version 3 we now always get the clear filter button in our filter row
Before the upgrade this button would only show up after we typed something in the filter, now it is always there even when the filter is empty.

Is there a way to return to the old behaviour?

Kind Regards

Dimitri

Hristian Stefanov
Telerik team
 answered on 03 Feb 2022
1 answer
186 views

Hello, I have a rather long list of items (> 400) that users will multiselect from.

I was hoping the TelerikMultiSelect control would work for this, as it's the only Blazor control I've found so far that comes close to providing the required functionality.

However, it doesn't seem to be rendering properly, and it doesn't provide a way to scroll beyond one page worth of data.

First of all, it only draws the "drop down" for 8 items, even though the list renders far beyond the drop down, causing a poor visual rendition of the list.  This is just a snippet, as the list goes down beyond the bottom of the browser page:

The component should know how long to render the "drop down" based on the number of items in the list?  I tried setting a MinHeight, which increased the length of the list, but that only changed where the visual cutoff occurs, as it still cuts off.

Secondly, there's no way to scroll beyond one page worth.  When the control scrolls off the page in the browser, the list collapses, making it impossible to scroll even to the 'Bs'.

I think I can make this work by making use of filters and setting the MinHeight so that it extends beyond the controls below it, however this doesn't seem like the right way to do it.

I'm open to other ideas.

Thanks!

Marin Bratanov
Telerik team
 answered on 02 Feb 2022
1 answer
506 views

Hi,

I have a grid and upon editing, the user would need to be able to select only from certain items to some of the columns. For this, I would need to use a drop down list, listing the respective items.

Anyone knows how would I be able to incorporate drop down lists in the PopUp editor please?

Thanks!

Astig 

Marin Bratanov
Telerik team
 answered on 02 Feb 2022
1 answer
257 views

Hi,

I am trying to filter items from code and get this error:

cannot implicity convert type 'system.collections.generic.list<telerik.datasource.filterdescritptorbase>' to 'system.collections.generic.icollection<telerik.datasource.ifilterdescriptor>'>

Please see code below:

private async Task FilterByNameAndWritter()
        {
            List<FilterDescriptorBase> filterDescriptorBases = new List<FilterDescriptorBase>();
            filterDescriptorBases.Add(new FilterDescriptor() { Member = "Name", Operator = FilterOperator.Contains, Value = Name,    MemberType = typeof(string) });
            filterDescriptorBases.Add(new FilterDescriptor() { Member = "Writter", Operator = FilterOperator.Contains, Value = Writter, MemberType = typeof(string) });

            GridState<BookDto> gridState = new GridState<BookDto>();
            gridState.FilterDescriptors = filterDescriptorBases;  // the error comes from here

            await BookGrid.SetState(gridState);
        }

Marin Bratanov
Telerik team
 answered on 02 Feb 2022
1 answer
2.4K+ views
Hello, I'm trying to figure out a way to trigger an event to close when the Modal window looses focus from the user for example when they click outside of the box. I've looked through the documentation for the window component and although their are keyboard shortcuts such as "ESC" to close the window I couldn't find any events for closing the window based on lose of focus. Any suggestions or assistance with this issue would be great.
Blazorist
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 02 Feb 2022
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?