Relative Content

Tag Archive for blazorblazor-server-sidemudblazor

Populate Mud DataGrid on Search click

I seen examples of datagrid to populate on component load. I have thousands of records in a table so user has to perform a search first and populate the mudgrid when the search button is clicked.

Auto-expand and auto-scroll in MudBlazor with MudTree

I am trying to create a Comments component which renders comments, but the comments can have nested comments, and I want to be able to fetch the child comments only if the users clicks on the parent comment, hence the loop.
There is an issue with this, because it creates a new TreeView for each comment, but I must have the comment Id in order to fetch the child comments and I can’t do anything about how the api is created, because I am aware that this is not the optimal way of fetching nested comments.

MudBlazor Dialog throws error on multiple trigger

Using Blazor Server Side Rendering.
I have a MudTable, and I show some images.
I want to click the image and then present a Dialog with the full dimension of image.
It works fine, but as soon as a user double clicks the image (the second click has to occur before the Dialog is open), then I get this error on console.