Telerik Forums
UI for Blazor Forum
1 answer
912 views

Hi,

When I try to run the example on the following page I get an error:
Page: https://docs.telerik.com/blazor-ui/components/form/formitems/overview#customize-the-appearance-of-the-editors-in-the-form 
Error: Unhandled exception rendering component: Object of type 'Telerik.Blazor.Components.FormItem' does not have a property matching the name 'Enabled'.

Additionally, the example that uses the "[Editable(false)]" attribute on the model attached to the form does not render the control in a disabled state, as stated. (Example on this page: https://docs.telerik.com/blazor-ui/components/form/overview )

Any help would be appreciated. Thank you,
Jesse

 

Svetoslav Dimitrov
Telerik team
 answered on 08 Jun 2021
1 answer
2.4K+ 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
619 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.2K+ 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
316 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
501 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.1K+ 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
958 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
547 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
626 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
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?