Telerik Forums
UI for Blazor Forum
4 answers
314 views
The new Dialog component is passed as a cascading parameter.  Is there a way to name the parameter to prevent collisions with out cascading parameters?
Marin Bratanov
Telerik team
 answered on 06 Apr 2021
2 answers
1.7K+ views
How can we customize the dialogs? Specifically the color of the buttons and the text of the buttons in the confirmation dialog. 
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
 answered on 06 Apr 2021
4 answers
454 views
If I select an item in a ListView is there any way I can get the whole row like for a Grid? If there were a Grid I would assign a function to be called OnRowClick. But that does not seem to be available for ListView?
Marin Bratanov
Telerik team
 answered on 05 Apr 2021
1 answer
216 views

Is it possible to have the GridAggregate data on the same row as the titlebar of the grouping. This will save 1 verticalrow in the grid.

See also the attached picture

Marin Bratanov
Telerik team
 answered on 05 Apr 2021
1 answer
201 views

I have a very wide grid with a horizontal scrollbar and the first few columns are frozen so this info stays in the screen. This works well until I use grouping and collaps the various grouped data.

 

If you expand the grouped data the frozen columns stays visible and all is fine.

If you collaps the grouped data the text in the frozen columns aren't visible and if you scroll to the right the header field of the grouping is gone.

in the picture I have grouped by employee and scrolled to the right

Marin Bratanov
Telerik team
 answered on 05 Apr 2021
1 answer
920 views

During rendering I often get this error. Sometimes I am able to find what mistake I made and fix it. But from the stacktrace in the Chrome debugger it is hard to figure out what is going on. I am working on a WASM project. I was wondering if there were any tips on how to debug issues like this?

 

Marin Bratanov
Telerik team
 answered on 05 Apr 2021
1 answer
586 views

Iam using Telerik Blazor grid in one of my application. The grid displays a list of items along with the  itemType. I need to implement a feature where users can select the items using a checkbox. I have done that using the GridCheckboxColumn. Now I want to limit the user to only select one item of a specific itemType. Such that the selected items will always belong to a distinct item type. No two items of the same itemType can be selected.

Is this possible in the current version? Could you point me to any resource which will allow me to achieve this?
I want to do this on the checkbox click event or something similar.

Marin Bratanov
Telerik team
 answered on 05 Apr 2021
10 answers
999 views

Hi,

I get an error when I click the filter button in this situation:

I have a colum with enum datatype. I filter the column on 1 of the enumeration values. After changing the filters, I save the gridstate to local storage. I use the system.text.json to serialize the gridstate. 

After refreshing the page, the filter loads correctly, the data is filtered on the database and the filter button is marked as used. When I click the button to change the filter, I get following error:

Unhandled exception in circuit '{CircuitId}'. (System.InvalidCastException: Unable to cast object of type 'System.Int16' to type 'System.Int32'.
   at Telerik.Blazor.Components.Common.Editors.TelerikEnumEditor.get_CurrentValue()
   at Telerik.Blazor.Components.Common.Editors.TelerikEnumEditor.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue())

Thanks

 

Bert
Top achievements
Rank 1
Veteran
 answered on 02 Apr 2021
3 answers
1.6K+ views

Hi. I have a form that posts to a payment platform. I'd like to have a button that submits the form but also runs some other code, e.g. set a property to hide elements on the page.

 

Can I do this?   If so should I use ButtonType="ButtonType.Submit" plus an OnClick?  This doesn't seem to work.  Or should I use a ButtonType.Button and use some code to post the form?  (If so how could I do that)?

 

Thanks.

Dean

Stamo Gochev
Telerik team
 answered on 02 Apr 2021
1 answer
725 views

I am using the OnClick event of the menu to perform some actions and then navigate to the new page (using NavigationManager).

The problem I am having is that if the item I clicked on is in a drop down menu, the dropdown is still expanded after the navigation (note the menu is in the MainLayout).  

Is there anyway I can collapse the menu before (or after) it navigates?

Marin Bratanov
Telerik team
 answered on 01 Apr 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?