Telerik Forums
UI for Blazor Forum
1 answer
138 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
83 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
68 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
127 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
131 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
121 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
294 views
When can we expect the release of the new dock manager?
Dimo
Telerik team
 updated answer on 12 Sep 2024
1 answer
168 views

Hi

I have created a custom appointment page, which works fine, but I can't find a simple way to replicate the recurrence functionality of the standard add/edit appointment page.  The only information I have been able to find is that I need to completely recreate the functionality, which seems to be a great deal of effort.

Have I missed something?  Is it possible to expose the recurrence object?

TIA

Dimo
Telerik team
 answered on 12 Sep 2024
1 answer
70 views
Hello, i want to perform a checksum under a memorystream under the uploaded file on the upload event on the filemanager , i need to check if my file is already uploaded then check if the name is the same and so give the user some choice before uplod trully the file 
can you give me some docs ? sample 
Dimo
Telerik team
 answered on 12 Sep 2024
0 answers
66 views
I have a scenario where I want to enable the multiselect for the Telerik Blazor Grid, using the InCell edit mode.

This is very important for the scenario I'm working with. 

I tried to control the selection by my self using a keydown listener in a div that contains the Grid to catch the Control and Shift keys. But, it seems like the Event is not propagated to the div.



Thanks!
Myron
Top achievements
Rank 1
 asked on 11 Sep 2024
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?