Telerik Forums
UI for Blazor Forum
0 answers
108 views

Hi, 

I am encountering an issue with the Telerik Grid in our Blazor project. Specifically, when there is only one record on the second page of the grid, and I delete that record, the grid does not automatically jump back to the first page, even after refreshing the grid.

Steps to Reproduce:

  1. Navigate to a grid with multiple pages.
  2. Ensure there is only one record on the second page.
  3. Delete that record.
  4. Observe that the grid does not return to the first page

I would appreciate any guidance on how to resolve this issue or if there are any workarounds you could recommend.

Thank you for your assistance!

Oliver
Top achievements
Rank 1
 asked on 24 Sep 2024
1 answer
289 views

Hello,

how can a tooltip be displayed on a disabled button?

I have a use case where the user should be informed of the reason for the disabled button through the tooltip.

Thank you in advance!

https://blazorrepl.telerik.com/GoENGaYV59uuC3IQ44

Tsvetomir
Telerik team
 answered on 20 Sep 2024
1 answer
64 views

Hi.

I have a requirement I'm stumped with. I want to get the folder name when click on the tree view. I found that Telerik has SelectedItemsChanged but it only works for the files/folders on content view.

I can't think of any way to do this - is it possible?

Thanks,

Hang Pham

Dimo
Telerik team
 answered on 20 Sep 2024
1 answer
199 views

Does anyone have some sample code showing how to populate a Telerik Blazor Grid with data from a MSSQL Stored Procedure? I am using a Blazor Server template and have got it populating from a table/class model, but not quite sure of the syntax for populating from a stored proc.  I will then want to implement CRUD operations.  Any help would be very much appreciated!

Dimo
Telerik team
 answered on 20 Sep 2024
1 answer
115 views

In Telerik themes, we see this z-index on .k-tooltip.  This would put it comfortably above some other high z-index values we had to use.

.k-tooltip {

    z-index: 12000;

}

 

However, it's held within a div class="k-animation-container telerik-blazor" which has low z-index such as 3 or 11.  This puts it below our z-index, which might be in the 900s.  Was there a reason this k-animation-container z-index was so low?

Dimo
Telerik team
 updated answer on 19 Sep 2024
1 answer
100 views

Hi.

I have a requirement I'm stumped with.  The client has a wizard and they want to enforce linear flow when moving forwards in the wizard, but they want it to be possible to skip back more than one step at a time.

So on any given step you can only go forwards one step, but you can go back more than one.

I can't think of any way to do this - is it possible?

Thanks,

Dean

Dimo
Telerik team
 answered on 18 Sep 2024
1 answer
181 views

Hi,

I am using Telerik UI for Blazor version 5.0.1 in my project, and a Veracode scan has identified a vulnerability in this version (see the attached image for details). Could you please advise on a solution to address this issue and how we can resolve it?

Thank you.

Dimo
Telerik team
 answered on 18 Sep 2024
1 answer
211 views

I have a bool property binded in two way to a dialog checkbox.

if i change the check value, the variabile inside the dialog in binded correctly, but the variable binded in the main component in not updated.

 

Check this sample, if i set the check and close the dialog, the parent compoent variable is not updated.

https://blazorrepl.telerik.com/ceuZbwah44LSdBQu06

 

how to solve?

 

Main.Razor

 

@if (IsDialogVisible)
{
   <CheckDialog @bind-CheckValue="CheckValue" OnClose="() => IsDialogVisible = false" />
}
<p>CheckValue is @CheckValue</p>
@code {
    private bool IsDialogVisible {get;set;} = true;
    private bool CheckValue {get;set;}

}

 

CheckDialog.Razor

<TelerikDialog @ref="Dialog" Visible="true" ShowCloseButton="false">
       <DialogContent>
       <TelerikCheckBox @bind-Value="CheckValue" OnChange="() => Dialog.Refresh()" />    
       Check test
       </DialogContent>
     <DialogButtons>
         <TelerikButton OnClick="() => OnClose.InvokeAsync()">Close</TelerikButton>
     </DialogButtons>
</TelerikDialog>
@code {
    private TelerikDialog Dialog {get;set;}
    
    [Parameter]
    public bool CheckValue {get;set;}
    [Parameter]
    public EventCallback<bool> CheckValueChanged {get;set;}
    [Parameter]
    public EventCallback OnClose {get;set;}
}

 

Dimo
Telerik team
 answered on 13 Sep 2024
1 answer
208 views

Hi, 

I'm using a pretty basic grid with the Resize and Reorder parameters set to true. I can see there are functions around a Min and Max size for individual columns and auto sizing. I have read through this a few times and looked at the various resize demos https://docs.telerik.com/blazor-ui/components/grid/columns/width. But it doesn't quite suit what I'm after.

Ideally I'm looking for this type of functionality:

  • When only some column widths are set and the cumulative width of columns with set widths is less than the available Grid width, the widths of the columns with a set width are respected and the remaining width is distributed evenly between the other columns.

But the inverse so that if the cumulative width of columns is greater than the available width, it shrinks the remaining columns so that no horizontal scroll bar shows.

Does anyone have any suggestions to how I might accomplish that with the grids inbuilt features? My alternative would be to calculate the size of the columns in the grids state changed event and then set the widths manually but its so far proved to be problematic with continues loops of the grids state changed event.

Thanks

Dimo
Telerik team
 answered on 13 Sep 2024
1 answer
350 views
When can we expect the release of the new dock manager?
Dimo
Telerik team
 updated answer on 12 Sep 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?