Telerik Forums
UI for Blazor Forum
1 answer
2.6K+ views
Is there a way to lock (freeze) the header row?
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 07 Jun 2021
1 answer
679 views

Is there a way to put an entire page and it's associated code-behind file as part of a tabstriptab content?  I'm having a problem styling the entire "page" since it has a component containing a tab strip and it always ends up on the left side of the page and the content ends up on the right side of the page.  The best thing would be to put the content in the tab content itself but i don't want to put all that html and code into one file that contains the tabstriptab.

 

Thanks,
Lawrence.

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 07 Jun 2021
2 answers
1.3K+ views

Hi

The idea we have is to have a list of tileLayoutitems. The user starts with an empty TileLayout and starts a wizard, the wizard lets the user choose from a list which tilelayoutitems he or she wants to see.  We save this information in our database. So then, we need code to populate the tilelayout with the choosen tilelayout items.

Qeustion is this possible to do and how?

Eric

 

 

Nadezhda Tacheva
Telerik team
 answered on 07 Jun 2021
2 answers
367 views

Hello, we are trying to create a type of dashboard where the user would be able to customise the dashboard by removing and adding tiles.

It seems like the add/remove feature is already implemented in Kendo UI for JQuery but not for Blazor, is there already an expected date for this feature to be implemented in Blazor?

Nadezhda Tacheva
Telerik team
 updated answer on 07 Jun 2021
1 answer
545 views
My typical case
Users for working with various business objects (let's assume that this is a Product) work with a paged grid (the number of pages is from 20 to 1000). Product has 10-30 fields (Name, Type, Code, etc.).
The user using the search box selects for example by Type the Product they are interested in and adds the Product with the same Type using a complex form on a separate page. After recording the added Product, the user returns to the page with the paged grid, updates the data, and wants to return to the same search box filter that was before the addition.
How do I save the filter from the search box before entering a new Product and restore it after adding a new Product to the database?
Hristian Stefanov
Telerik team
 answered on 07 Jun 2021
1 answer
1.2K+ views
We're trying to wrap the Telerik card component into my own card deck and card components.  I have the following classes that I would like to create in a collection on the page and then have the click events from the button wired up to methods on the page similar to this example.
 
CardDeck - This holds a List of CardItems
Card - Contains an individual CardItem object
CardItem - Properties of the card as well as a CardButton collection
CardButton - Properties of the button as well as a property that represents the method I'd like to wire up on the page.
 
Card.razor iterates through the CardButton collection and creates a TelerikButton object for each item.  This is where I'd like to have the CardButton.OnClick wired up.  This works fine if I have a method defined in card.razor, but if I try and define a method on the page I can't seem to wire it up (see the example).
 
 

Nadezhda Tacheva
Telerik team
 answered on 07 Jun 2021
3 answers
1.1K+ views

I am trying to do a custom filter as FilterMenuTemplate in a Grid.

Filtering works fine.  When I attempt to "unfilter", I get lost in how to detect and handle it.

I have two different styles of handing the filtering in the below, yet neither can I get to work.

How do I have FilterMenuTemplate with a dropdown (custom) and detect the user clicking the "Clear" button?

<TelerikGrid Data="@_vehicleParts"
                         Pageable="true"
                         Sortable="true"
                         FilterMode="Telerik.Blazor.GridFilterMode.FilterMenu"
                         Resizable="true"
                         Reorderable="true"
                         PageSize="20"
                         Navigable="true"
                         OnRead=@OnVehiclePartsRead
                         TotalCount="@TotalCount">
                <GridColumns>
                    <GridColumn Width="10%" Field="@nameof(VehiclePartModel.YearId)">
                    </GridColumn>
                    <GridColumn Width="10%" Field="@nameof(VehiclePartModel.BrandModelName)">
                        <FilterMenuTemplate Context="brandModelNameFilterContext">
                            <TelerikDropDownList Data="@_brandModels" TextField="@nameof(BrandModel.Name)" ValueField="@nameof(BrandModel.Id)" @bind-Value="@BrandModelIdFilter" />
                        </FilterMenuTemplate>
                    </GridColumn>
                    <GridColumn Width="10%" Field="@nameof(VehiclePartModel.MakeName)">
                        <FilterMenuTemplate Context="makeNameFilterContext">
                            @{ this._makeNameFilterContext = makeNameFilterContext;}
                            <TelerikDropDownList Data="@_makes" TextField="@nameof(Make.Name)" Value="@MakeIdFilter" ValueField="@nameof(Make.Id)" ValueChanged="@((int value) => ColumnValueChanged(value, nameof(VehiclePartModel.MakeName), makeNameFilterContext.FilterDescriptor))"/>
                        </FilterMenuTemplate>
                    </GridColumn>


Svetoslav Dimitrov
Telerik team
 answered on 07 Jun 2021
1 answer
625 views

Hello,

Is there a way to refresh all Charts in a TileLayout without doing it on every Chart?

 

My TileLayout is created dynamically, and I can have 1 or many Charts in it, but I want to refresh all of them on resize.

I have a method that triggers when a user presses some key combinations, and then every Chart should do .refresh().

 

Thanks

 

BR,
Nikolas

Svetoslav Dimitrov
Telerik team
 answered on 07 Jun 2021
2 answers
712 views

I am attempting to use a drawer component to slide in from the right and present the user with a form to edit various items from a grid.

Is there a way to display content (form, text, etc) in a drawer other than menu-type items?

Thanks,
Jesse

Jesse
Top achievements
Rank 1
Iron
 answered on 04 Jun 2021
1 answer
233 views

I have created my own custom FilterMenuTemplate which is working.  I get the standard "Clear" and "Filter" buttons in the filter popup for free.

I would like to add a third custom button next to the "Clear" and "Filter" buttons called "Default"
(see red outline on attached image as to where I would like to place the button). 

Looks like it would need to be placed inside the <div class="k-columnmenu-actions">

Clicking on the "Default" button will reset the filter back to the default values e.g. "C0", "UA" and "BM" - is that possible?

 

Dimo
Telerik team
 answered on 04 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?